Determine simulation time from backbone

simtime_from_backbone(backbone, burn = FALSE)

Arguments

backbone

A valid dyngen backbone object

burn

Whether or not to compute the simtime for only the burn phase

Value

An estimation of the required simulation time

Examples

backbone <- backbone_linear() simtime_from_backbone(backbone)
#> [1] 718.8
model <- initialise_model( backbone = backbone, simulation_params = simulation_default( burn_time = simtime_from_backbone(backbone, burn = TRUE), total_time = simtime_from_backbone(backbone, burn = FALSE) ) )