Create the confs for a custom NIMBLE modelValues object
Builds an R-based modelValues conf object
modelValuesConf(symTab, className, vars, types, sizes, modelDef = NA, where = globalenv())
symTab |
For internal use only |
className |
For internal use only |
vars |
A vector of character strings naming each variable in the modelValues object |
types |
A vector of character strings describing the type of data for the modelValues object. Options include ‘double’ (for real-valued variables) and ‘int’. |
sizes |
A list in which the named items of the list match the |
modelDef |
For internal use only |
where |
For internal use only |
See the User Manual or help(modelValuesBaseClass) and help(modelValues) for information
Clifford Anderson-Bergman
#Custom modelValues object:
mvConf <- modelValuesConf(vars = c('x', 'y'),
types = c('double', 'int'),
sizes = list(x = 3, y = c(2,2)))
custom_mv <- modelValues(mvConf, m = 2)
custom_mv['y',]Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.