File: mxMakeNames.Rd

package info (click to toggle)
r-cran-openmx 2.21.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,412 kB
  • sloc: cpp: 36,577; ansic: 13,811; fortran: 2,001; sh: 1,440; python: 350; perl: 21; makefile: 5
file content (27 lines) | stat: -rw-r--r-- 646 bytes parent folder | download | duplicates (3)
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}
}