smc2_control | R Documentation |
Control for smc2. This function constructs a list of options and
does some basic validation to ensure that the options will work
well together. Do not manually change the values in this
object. Do not refer to any argument except n_parameter_sets
by
position as the order of the arguments may change in future.
smc2_control(
n_parameter_sets,
degeneracy_threshold = 0.5,
covariance_scaling = 0.5,
progress = TRUE,
save_trajectories = FALSE
)
n_parameter_sets |
The number of replicate parameter sets to simulate at once. |
degeneracy_threshold |
The degeneracy threshold. Once the
effective sample size drops below |
covariance_scaling |
A scaling factor to update variance covariance matrix of sampled parameters by |
progress |
Logical, indicating if a progress bar should be
displayed, using |
save_trajectories |
Logical, indicating if particle trajectories should be saved during the simulation. |
A smc2_control
object, which should not be modified once created.
mcstate::smc2_control(100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.