Learn R Programming

apollo (version 0.3.4)

apollo_varList: Lists variable names and definitions used inside a function

Description

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

Usage

apollo_varList(f, apollo_inputs)

Value

A list of expressions containing all definitions in f, apollo_randCoeff and apollo_probabilities

Arguments

f

A function, usually apollo_probabilities

apollo_inputs

List grouping most common inputs. Created by function apollo_validateInputs.

Details

It looks for variable definitions inside f, apollo_randCoeff, and apollo_lcPars. It returns them in a list.