fct_em {mixedLSR} | R Documentation |
Internal EM Algorithm
fct_em(x, y, k, lambda, clust_assign, lik_track, em_iter, verbose)
x |
A matrix of predictors. |
y |
A matrix of responses. |
k |
The number of groups. |
lambda |
A vector of penalization parameters. |
clust_assign |
The current clustering assignment. |
lik_track |
A vector storing the log-likelihood by iteration. |
em_iter |
The maximum number of EM iterations. |
verbose |
A boolean indicating whether to print to screen. |
A mixedLSR model.