step2 | R Documentation |
step2
conducts step 2 of the three-step estimation of LMFA. More specifically, the function extracts the classification information from the step1
output.
step2(data, model)
data |
The dataset (must be a dataframe and contain complete cases only). |
model |
The model estimated with |
Returns the posterior state probabilities, the modal state assignments, the classification errors, and the state proportions.
## Not run:
classification <- step2(data, model)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.