View source: R/modi-internal.R
ER.normal | R Documentation |
The ER
function is an implementation of the
ER-algorithm of Little and Smith (1987).
ER.normal(
data,
weights = rep(1, nrow(data)),
psi.par = c(2, 1.25),
np = sum(weights),
p = ncol(data),
s.counts,
s.id,
S,
missing.items,
nb.missing.items,
start.mean = rep(0, p),
start.var = diag(1, p),
numb.it = 10,
Estep.output = FALSE,
tolerance = 1e-06
)
data |
matrix or dataframe with data. |
weights |
vector of weights. |
psi.par |
parameters for psi function. |
np |
np. |
p |
number of columns. |
s.counts |
s.counts. |
s.id |
s.id. |
S |
S. |
missing.items |
missing items. |
nb.missing.items |
number of missing items. |
start.mean |
initial center. |
start.var |
initial variance. |
numb.it |
number of iterations. |
Estep.output |
Estep.output. |
tolerance |
tolerance. |
Beat Hulliger
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.