apollo_checkArguments: Checks definitions Apollo functions

Description Usage Arguments Details Value

View source: R/apollo_checkArguments.R

Description

Checks that the user-defined functions used by Apollo are correctly defined by the user.

Usage

1
2
3
4
5
apollo_checkArguments(
  apollo_probabilities = NA,
  apollo_randCoeff = NA,
  apollo_lcPars = NA
)

Arguments

apollo_probabilities

Function. Likelihood function as defined by the user.

apollo_randCoeff

Function. Defines the random components used inside apollo_probabilities.

apollo_lcPars

Function. Defines the class allocation probabilities and (optionally) the lists of parameters of each class for latent class models.

Details

It only checks that the functions have the correct definition of inputs. It does not run the functions.

Value

Returns (invisibly) TRUE if definitions are correct, and FALSE otherwise.


apollo documentation built on July 31, 2021, 5:08 p.m.