predict_class_prior | R Documentation |
: Predicts the latent class probabilities, given covariates X
and logit regression coefficients alpha
.
predict_class_prior(X, alpha)
X |
A matrix of covariates. |
alpha |
A matrix of logit regression coefficients. |
prob A matrix of latent class probabilities.
max_prob_idx A matrix of the most likely latent class for each observation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.