File: toformula.Rd

package info (click to toggle)
r-cran-lava 1.8.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,816 kB
  • sloc: sh: 13; makefile: 2
file content (33 lines) | stat: -rw-r--r-- 589 bytes parent folder | download | duplicates (4)
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
28
29
30
31
32
33
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/toformula.R
\name{toformula}
\alias{toformula}
\title{Converts strings to formula}
\usage{
toformula(y = ".", x = ".")
}
\arguments{
\item{y}{vector of predictors}

\item{x}{vector of responses}
}
\value{
An object of class \code{formula}
}
\description{
Converts a vector of predictors and a vector of responses (characters) i#nto
a formula expression.
}
\examples{

toformula(c("age","gender"), "weight")

}
\seealso{
\code{\link{as.formula}},
}
\author{
Klaus K. Holst
}
\keyword{models}
\keyword{utilities}