This is an internal (non-exported) function. This help page provides additional documentation mainly intended for developers and expert users.

teem_wrapper(
  data,
  Ulist_init,
  subset = NULL,
  w_init = NULL,
  maxiter = 5000,
  converge_tol = 1e-07,
  eigen_tol = 1e-07,
  verbose = FALSE
)

Arguments

data

mash data object

Ulist_init

a list of covariance matrices to initialize to

subset

the indices of the observations to be used (defaults to all of them)

Value

the fitted mixture: a list of mixture proportions and covariance matrices