Description Usage Arguments Value
View source: R/hmi_wrapper_2016-12-14_05.R View source: R/hmi_wrapper_2016-12-12_03.R View source: R/hmi_wrapper_2016-12-09.R View source: R/hmi_wrapper_2016-12-07.R View source: R/hmi_wrapper_2016-12-06.R View source: R/hmi_wrapper_2016-12-01.R View source: R/hmi_wrapper_2016-11-03.R View source: R/hmi_wrapper_2016-09-15.R View source: R/hmi_wrapper_2016-09-07.R View source: R/hmi_wrapper_2016-08-17.R View source: R/hmi_wrapper_2016-08-05.R View source: R/hmi_wrapper_2016-08-02.R View source: R/hmi_wrapper_2016-07-21.R View source: R/hmi_wrapper_2016-07-20.R View source: R/hmi_wrapper_2016-07-19.R View source: R/hmi_wrapper_2016-07-13.R
The user has to passes to the function his data. Optionally he pass his analysis model formula so that hmi runs the imputation model in line with his analysis model formula. And of course he can specify some parameters for the imputation routine (like the number of imputations and iterations and the burn in percentage.) The standard usage should be that the user gives his complete dataset and his analysis model. But he also could just give y, X and Z and the cluser ID.
The user has to passes to the function his data. Optionally he pass his analysis model formula so that hmi runs the imputation model in line with his analysis model formula. And of course he can specify some parameters for the imputation routine (like the number of imputations and iterations and the burn in percentage.) The standard usage should be that the user gives his complete dataset and his analysis model. But he also could just give y, X and Z and the cluser ID.
The user has to passes to the function his data. Optionally he pass his analysis model formula so that hmi runs the imputation model in line with his analysis model formula. And of course he can specify some parameters for the imputation routine (like the number of imputations and iterations and the burn in percentage.) The standard usage should be that the user gives his complete dataset and his analysis model. But he also could just give y, X and Z and the cluser ID.
1 2 3 4 5 6 7 8 | wrapper(data, model_formula = NULL, parameter_list = NULL, n.iter = 100,
M = 10, n.chains = 3, burn.in = 1/3, max.iter = 5000)
wrapper(data, model_formula = NULL, parameter_list = NULL, n.iter = 100,
M = 10, n.chains = 3, burn.in = 1/3, max.iter = 5000)
wrapper(data, model_formula = NULL, parameter_list = NULL, n.iter = 100,
M = 10, n.chains = 3, burn.in = 1/3, max.iter = 5000)
|
data |
A matrix or (better) a data.frame with all variables appearing in |
model_formula |
A |
parameter_list |
A LIST OF PARAMETERS |
n.iter |
An integer defining the number of iterations that should be run in each bunch of iterations. |
M |
An integer defining the number of imputations that should be made. |
n.chains |
An integer defining the number of Markov chains to be made. |
burn.in |
A numeric between 0 and 1 defining the percentage of draws from the gibbs sampler that should be discarded as burn in. |
max.iter |
An integer defining the maximum number of iterations that should be run in total. |
impsyn |
SHALL VALUES BE IMPUTED OR SYNTHETICISED? |
parameter.list |
A LIST OF PARAMETERS |
data |
A matrix or (better) a data.frame with all variables appearing in |
model_formula |
A |
M |
An integer defining the number of imputations that should be made. |
data |
A matrix or (better) a data.frame with all variables appearing in |
model_formula |
A |
parameter_list |
A LIST OF PARAMETERS |
n.iter |
An integer defining the number of iterations that should be run in each bunch of iterations. |
M |
An integer defining the number of imputations that should be made. |
n.chains |
An integer defining the number of Markov chains to be made. |
burn.in |
A numeric between 0 and 1 defining the percentage of draws from the gibbs sampler that should be discarded as burn in. |
A data.frame. It consists of the original data
and m
additional variables with the imputed values.
A data.frame. It consists of the original data
and m
additional variables with the imputed values.
A data.frame. It consists of the original data
and m
additional variables with the imputed values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.