mxMakeNames | R Documentation |
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.
make.names
demo <- c("", "103", "data", "foo.bar[3,2]", "+!", "!+")
mxMakeNames(demo, unique=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.