View source: R/types_modelValues.R
modelValuesConf | R Documentation |
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',]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.