mxMakeNames {OpenMx} | R Documentation |
mxMakeNames
Description
Adjust a character vector so that it is valid when used as MxMatrix column or row names.
Usage
mxMakeNames(names, unique = FALSE)
Arguments
names |
a character vector |
unique |
whether to pass the result through make.unique |
Details
note: OpenMx is (much) more restrictive than base R's make.names.
See Also
Examples
demo <- c("", "103", "data", "foo.bar[3,2]", "+!", "!+")
mxMakeNames(demo, unique=TRUE)
[Package OpenMx version 2.21.11 Index]