simtime_from_backbone {dyngen} | R Documentation |
Determine simulation time from backbone
Description
Determine simulation time from backbone
Usage
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)
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)
)
)
[Package dyngen version 1.0.5 Index]