apollo_checkArguments {apollo} | R Documentation |
Checks that the user-defined functions used by Apollo are correctly defined by the user.
apollo_checkArguments( apollo_probabilities = NA, apollo_randCoeff = NA, apollo_lcPars = NA )
apollo_probabilities |
Function. Likelihood function as defined by the user. |
apollo_randCoeff |
Function. Defines the random components used inside |
apollo_lcPars |
Function. Defines the class allocation probabilities and (optionally) the lists of parameters of each class for latent class models. |
It only checks that the functions have the correct definition of inputs. It does not run the functions.
Returns (invisibly) TRUE if definitions are correct, and FALSE otherwise.