Commit | Line | Data |
---|---|---|
1 | % Generated by roxygen2: do not edit by hand | |
2 | % Please edit documentation in R/initSmallEM.R | |
3 | \name{initSmallEM} | |
4 | \alias{initSmallEM} | |
5 | \title{initialization of the EM algorithm} | |
6 | \usage{ | |
7 | initSmallEM(k, X, Y) | |
8 | } | |
9 | \arguments{ | |
10 | \item{k}{number of components} | |
11 | ||
12 | \item{X}{matrix of covariates (of size n*p)} | |
13 | ||
14 | \item{Y}{matrix of responses (of size n*m)} | |
15 | } | |
16 | \value{ | |
17 | a list with phiInit, rhoInit, piInit, gamInit | |
18 | } | |
19 | \description{ | |
20 | initialization of the EM algorithm | |
21 | } | |
22 |