Helper function that takes ilv_vars and creates appropriately formatted stan code
Usage
process_ILVs(
ilv_vars,
ilv_vars_clean,
veff_ID,
suffix,
STb_data,
count_start,
prior_beta
)
Arguments
- ilv_vars
names of ilvs with prefixes
- ilv_vars_clean
"clean" names of ilvs without prefixes
- veff_ID
vector of parameters that need veffs
- suffix
character "i" or "j"
- STb_data
user imported data
- count_start
integer count variable for indexing
- prior_beta
string defining prior eg "normal(0,1)"
Value
list containing different bits of stan declarations