| get_group_model_fit | R Documentation |
Fits a model to all available datasets and returns the group-level fit. This function provides a convenient way to get pre-computed model fits for common models.
get_group_model_fit(
model_name,
datasets = NULL,
control = xslControl(),
deoptim_control = DEoptim::DEoptim.control(reltol = 0.001, NP = 100, itermax = 100)
)
model_name |
Name of the model to fit (see |
datasets |
Optional list of datasets to fit to (defaults to all available) |
control |
Control arguments passed to |
deoptim_control |
Control parameters passed to |
A list containing the fitted model results
# Get group fit for the uncfam model. A small dataset subset and a
# reduced DEoptim search keep this example fast; drop those arguments
# for a real, thorough fit.
group_fit <- get_group_model_fit(
"uncfam", datasets = xsl_datasets[1:3],
deoptim_control = DEoptim::DEoptim.control(NP = 10, itermax = 5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.