1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MxNamespace.R
\name{mxMakeNames}
\alias{mxMakeNames}
\title{mxMakeNames}
\usage{
mxMakeNames(names, unique = FALSE)
}
\arguments{
\item{names}{a character vector}
\item{unique}{whether to pass the result through \link[base]{make.unique}}
}
\description{
Adjust a character vector so that it is valid when used as MxMatrix column
or row names.
}
\details{
\emph{note}: OpenMx is (much) more restrictive than base R's make.names.
}
\examples{
demo <- c("", "103", "data", "foo.bar[3,2]", "+!", "!+")
mxMakeNames(demo, unique=TRUE)
}
\seealso{
\link[base]{make.names}
}
|