apollo_varList: Lists variables names and definitions used in a model

Description Usage Arguments Details Value

View source: R/apollo_varList.R

Description

Returns a list containing the names and definitions of variables in apollo_probabilities, apollo_randCoeff and apollo_lcPars

Usage

1
apollo_varList(apollo_probabilities, apollo_inputs)

Arguments

apollo_probabilities

Likelihood function of the whole model.

apollo_inputs

List of arguments and settings generated by apollo_validateInputs.

V

Named list of functions.

cpp

Scalar logical. If TRUE, expressions are modified to match C++ syntax (e.g. x^y -> pow(x,y)). FALSE by default.

Details

It looks for variables in apollo_beta, apollo_randCoeff, draws, and apollo_probabilities. It returns them in a list ordered by origin.

Value

A list of expressions containing all definitions in apollo_randCoeff and apollo_probabilities


byu-transpolab/apollo-byu documentation built on Dec. 19, 2021, 12:49 p.m.