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)matrix or dataframe with data.
vector of weights.
parameters for psi function.
np.
number of columns.
s.counts.
s.id.
S.
missing items.
number of missing items.
initial center.
initial variance.
number of iterations.
Estep.output.
tolerance.
Beat Hulliger