mxMakeNames: mxMakeNames

View source: R/MxNamespace.R

mxMakeNamesR 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

make.names

Examples

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

OpenMx documentation built on Oct. 19, 2024, 9:06 a.m.