OpenMx (version 2.17.3)

mxMakeNames: 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

make.names

Examples

Run this code
# NOT RUN {
demo <- c("", "103", "data", "foo.bar[3,2]", "+!", "!+")
mxMakeNames(demo, unique=TRUE)
# }

Run the code above in your browser using DataCamp Workspace