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
)
Function. Likelihood function as defined by the user.
Function. Defines the random components used inside apollo_probabilities
.
Function. Defines the class allocation probabilities and (optionally) the lists of parameters of each class for latent class models.
Returns (invisibly) TRUE if definitions are correct, and FALSE otherwise.
It only checks that the functions have the correct definition of inputs. It does not run the functions.