run_mlwin | R Documentation |
This function calls runMLwiN
to estimate the
model.
run_mlwin( .dat, .model_formula = as.formula("y ~ 1 + (1 | sch_id_1) + (1 | stu_id)"), .outcome_dist = c("Normal", "Binomial", "Poisson", "Negbinom", "Unordered Multinomial", "Ordered Multinomial", "Multivariate Normal", "Mixed"), .mcmc_burn = 100, .mcmc_iter = 1000, .mcmc_nchains = 1, .mm_list = NULL, .progress_bar = NULL, ... )
.dat |
A dataframe produced by |
.model_formula |
A formula object. |
.outcome_dist |
A string. Defaults to "Normal". See the |
.mcmc_burn |
Numeric. Defaults to 100. |
.mcmc_iter |
Numeric. Defaults to 1000. |
.mcmc_nchains |
Numeric. Defaults to 1. |
.mm_list |
A list. Generated by |
.progress_bar |
Internal argument passed from |
... |
Other parameters passed to the |
Returns a model object produced by runMLwiN
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.