multi.em.default {em}R Documentation

Default generic for multi.em

Description

Default generic for multi.em

Usage

## Default S3 method:
multi.em(
  object,
  iter = 10,
  parallel = FALSE,
  num.cores = 2,
  random.init = TRUE,
  ...
)

Arguments

object

the model to use in em, e.g. 'lm', 'glm', 'gnm'

iter

number of iterations for running EM algorithm.

parallel

whether to use the parallel computing.

num.cores

number of cores used in the parallel computing.

random.init

whether to use a random initialization.

...

arguments used in em.

Value

return the 'em' object with the maximum log-likelihood.


[Package em version 1.0.0 Index]