The R Project SVN R

Rev

Rev 59039 | Rev 81377 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59039 Rev 62613
Line 1... Line 1...
1
% File src/library/base/man/tilde.Rd
1
% File src/library/base/man/tilde.Rd
2
% Part of the R package, http://www.R-project.org
2
% Part of the R package, http://www.R-project.org
3
% Copyright 1995-2007 R Core Team
3
% Copyright 1995-2013 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{tilde}
6
\name{tilde}
7
\alias{~}
7
\alias{~}
8
\alias{tilde}
8
\alias{tilde}
9
\title{Tilde Operator}
9
\title{Tilde Operator}
10
\description{
10
\description{
11
  Tilde is used to separate the left- and right-hand sides in model formula.
11
  Tilde is used to separate the left- and right-hand sides in a model formula.
12
}
12
}
13
\usage{
13
\usage{
14
y ~ model
14
y ~ model
15
}
15
}
16
\arguments{
16
\arguments{
17
  \item{y, model}{symbolic expressions.}
17
  \item{y, model}{symbolic expressions.}
18
}
18
}
19
\details{
19
\details{
20
  The left-hand side is optional, and one-sided formulae are used in
20
  The left-hand side is optional, and one-sided formulae are used in
21
  some contexts.
21
  some contexts.
-
 
22
 
-
 
23
  A formula has \link{mode} \code{\link{call}}.  It can be subsetted by
-
 
24
  \code{[[}: the components are \code{~}, the left-hand side (if
-
 
25
  present) and the right-hand side \emph{in that order}.
22
}
26
}
23
\references{
27
\references{
24
  Chambers, J. M. and Hastie, T. J. (1992)
28
  Chambers, J. M. and Hastie, T. J. (1992)
25
  \emph{Statistical models.}
29
  \emph{Statistical models.}
26
  Chapter 2 of \emph{Statistical Models in S}
30
  Chapter 2 of \emph{Statistical Models in S}
27
  eds J. M. Chambers and T. J. Hastie, Wadsworth & Brooks/Cole.
31
  eds J. M. Chambers and T. J. Hastie, Wadsworth & Brooks/Cole.
28
}
32
}
-
 
33
\seealso{
29
\seealso{\code{\link{formula}}}
34
  \code{\link{formula}}
-
 
35
}
30
\keyword{models}
36
\keyword{models}