threemc_fit_model | R Documentation |
Optimises threemc objective function and produces samples from
model fit (if so desired). If provided with an existing optimised model
fit
, can also perform re-sampling.
threemc_fit_model(
fit = NULL,
dat_tmb = NULL,
mod = NULL,
parameters = NULL,
maps = NULL,
randoms = c("u_time_mmc", "u_age_mmc", "u_space_mmc", "u_agetime_mmc",
"u_agespace_mmc", "u_spacetime_mmc", "u_age_tmc", "u_space_tmc", "u_agespace_tmc"),
sample = TRUE,
smaller_fit_obj = FALSE,
sdreport = FALSE,
N = 1000,
verbose = TRUE,
...
)
fit |
Optional "small" fit object with no |
dat_tmb |
|
mod |
TMB model, one of either "Surv_SpaceAgeTime_ByType_withUnknownType" or "Surv_SpaceAgeTime" if the surveys for the country in question make no distinction between circumcision type (i.e whether they were performed in a medical or traditional setting). |
parameters |
|
maps |
|
randoms |
|
sample |
If set to TRUE, has function also return N samples for medical, traditional and total circumcisions, Default: TRUE |
smaller_fit_obj |
Returns a smaller fit object. Useful for saving the fit object for later aggregations. |
sdreport |
If set to TRUE, produces the standard deviation report for the model, Default: FALSE |
N |
Number of samples to be generated, Default: 1000 |
verbose |
Boolean specifying whether you want detailed updates on function operations and progress, default = TRUE |
... |
Further arguments passed to internal functions. |
TMB model fit, including optimised parameters, hessian matrix, samples and standard deviation report (if desired).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.