mxMakeNames {OpenMx}R Documentation

mxMakeNames

Description

Adjust a character vector so that it can be used as MxMatrix column or row names. OpenMx is (much) more restrictive than base R's make.names.

Usage

mxMakeNames(names, unique = FALSE)

Arguments

names

a character vector

unique

whether the pass the result through make.unique

See Also

make.names

Examples

demo <- c("", "103", "data", "foo.bar[3,2]", "+!", "!+")
mxMakeNames(demo, unique=TRUE)

[Package OpenMx version 2.8.3 Index]