aux_validateRows: Validates and expands rows if necessary.

View source: R/auxiliaryFunctions.R

aux_validateRowsR Documentation

Validates and expands rows if necessary.

Description

Validates and expands rows if necessary.

Usage

aux_validateRows(rows, componentName = NULL, apollo_inputs = NULL)

Arguments

rows

Boolean vector. Consideration of which rows to include. Length equal to the number of observations (nObs), with entries equal to TRUE for rows to include, and FALSE for rows to exclude. Default is "all", equivalent to rep(TRUE, nObs). Set to "all" by default if omitted.

componentName

Character. Name given to model component. If not provided by the user, Apollo will set the name automatically according to the element in P to which the function output is directed.

apollo_inputs

List grouping most common inputs. Created by function apollo_validateInputs.


apollo documentation built on Oct. 2, 2024, 1:08 a.m.