apollo_lcConditionals {apollo}  R Documentation 
Calculates conditionals for latent class models.
Description
Calculates posterior expected values (conditionals) of class allocation probabilities for each individual.
Usage
apollo_lcConditionals(model, apollo_probabilities, apollo_inputs)
Arguments
model 
Model object. Estimated model object as returned by function apollo_estimate. 
apollo_probabilities 
Function. Returns probabilities of the model to be estimated. Must receive three arguments:

apollo_inputs 
List grouping most common inputs. Created by function apollo_validateInputs. 
Details
This function can only be used with latent class models without continuous heterogeneity.
Value
A matrix with the posterior class allocation probabilities for each individual.