mxMakeNames
Adjust a character vector so that it is valid when used as MxMatrix column or row names.
mxMakeNames(names, unique = FALSE)
names |
a character vector |
unique |
whether to pass the result through make.unique |
note: OpenMx is (much) more restrictive than base R's make.names.
demo <- c("", "103", "data", "foo.bar[3,2]", "+!", "!+") mxMakeNames(demo, unique=TRUE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.