Description Usage Arguments Value Author(s)
View source: R/bootstrap_missing.R
Bootstrap missing values in data from fitted multivariate hierarchical model
1 | bootstrap_missing_hier(fit, dat, groups, n = 500, progress = TRUE)
|
fit |
Fitting result, as returned by |
dat |
Data with partially missing values |
groups |
a vector of groups. If |
n |
Number of bootstrap samples (default = 500) |
progress |
(Logical) If |
If missing_only, matrix of bootstrapped missing values (nmissing x n). Otherwise, an array of bootstraps of the full imputed dataset, with
dimensions c(nrow(dat), ncol(dat), n).
Alexey Shiklomanov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.