Learn R Programming

apollo (version 0.1.0)

apollo_reportModelTypeLog: Writes the type of a model inside apolloLog

Description

Writes the type of the model in a list inside apolloLog, which lives inside apollo_inputs.

Usage

apollo_reportModelTypeLog(modelType, apolloLog)

Arguments

modelType

Character. Type of the model, e.g. "MNL" or "MDCEV"

apolloLog

Environment. It contains the character vectors of titles and content.

Value

TRUE if writing was succesful, FALSE if not.

Details

The variable apolloLog is an environment created inside apollo_inputs by apollo_validateInputs, but re-set by apollo_estimate. As an environment, it can be modified in place, i.e. all changes done within this function are recorded in apolloLog, even if it belongs to another environment.