predict.blca | R Documentation |
approximate predictive class probabilities for a new observation
## S3 method for class 'blca' predict(object, dat_pred = NULL, ...)
object |
An |
dat_pred |
a binary matrix with rows for observations and columns for features (of the same dimension as in the training data) |
... |
Other parameters |
a matrix with the same number of rows as dat_pred
and
K
columns (K
is the number of latent classes);
each row correspond to a vector of predicted probabilities of
an observation in each class.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.