requirements_to_skeleton: Create a data skeleton for a model

Description Usage Arguments Value

Description

Take the results of get_data_requirements and produce a skeleton list object to be passed to stan. If the requirements table has a value column it will be include as the contents of the list. Otherwise list elements are initialized to NA.

Usage

1

Arguments

req

The data requirements table

Value

A list with length equal to the number of rows in reqs with names equal to the name column of reqs and values initialized to either the contents of the value column if it exists or NAs.


cfhammill/hierarchyTrees documentation built on Feb. 8, 2020, 2:54 a.m.