| Line 17... |
Line 17... |
| 17 |
\arguments{
|
17 |
\arguments{
|
| 18 |
\item{formula}{a \code{\link{formula}}, such as \code{y ~ x}.}
|
18 |
\item{formula}{a \code{\link{formula}}, such as \code{y ~ x}.}
|
| 19 |
\item{data}{a data.frame (or list) from which the variables in
|
19 |
\item{data}{a data.frame (or list) from which the variables in
|
| 20 |
\code{formula} should be taken.}
|
20 |
\code{formula} should be taken.}
|
| 21 |
\item{\dots}{Further graphical parameters may also be passed as
|
21 |
\item{\dots}{Further graphical parameters may also be passed as
|
| 22 |
arguments, see \code{\link{par}}.}
|
22 |
arguments, see \code{\link{par}}. \code{horizontal = TRUE}
|
| - |
|
23 |
is also accepted.}
|
| 23 |
\item{subset}{an optional vector specifying a subset of observations
|
24 |
\item{subset}{an optional vector specifying a subset of observations
|
| 24 |
to be used in the fitting process.}
|
25 |
to be used in the fitting process.}
|
| 25 |
\item{ylab}{the y label of the plot(s).}
|
26 |
\item{ylab}{the y label of the plot(s).}
|
| 26 |
\item{ask}{logical, see \code{\link{par}}.}
|
27 |
\item{ask}{logical, see \code{\link{par}}.}
|
| 27 |
}
|
28 |
}
|
| Line 31... |
Line 32... |
| 31 |
\code{data} is a list or a data frame. The terms of the formula and
|
32 |
\code{data} is a list or a data frame. The terms of the formula and
|
| 32 |
those arguments in \code{\dots} that are of the same length as
|
33 |
those arguments in \code{\dots} that are of the same length as
|
| 33 |
\code{data} are subjected to the subsetting specified in
|
34 |
\code{data} are subjected to the subsetting specified in
|
| 34 |
\code{subset}. If the formula in \code{plot.formula} contains more
|
35 |
\code{subset}. If the formula in \code{plot.formula} contains more
|
| 35 |
than one non-response term, a series of plots of y against each term
|
36 |
than one non-response term, a series of plots of y against each term
|
| 36 |
is given. A plot against the running index can be specified as
|
37 |
is given. A plot against the running index can be specified as
|
| 37 |
\code{plot(y~1)}.
|
38 |
\code{plot(y~1)}.
|
| 38 |
|
39 |
|
| 39 |
If \code{y} is an object (ie. has a \code{\link[base]{class}} attribute)
|
40 |
If \code{y} is an object (ie. has a \code{\link[base]{class}} attribute)
|
| 40 |
then \code{plot.formula} looks for a plot method for that class first.
|
41 |
then \code{plot.formula} looks for a plot method for that class first.
|
| - |
|
42 |
Otherwise, the class of \code{x} will determine the type of the plot.
|
| - |
|
43 |
For factors this will be a parallel boxplot, and argument
|
| - |
|
44 |
\code{horizontal = TRUE} can be used (see \code{\link{boxplot}}).
|
| 41 |
}
|
45 |
}
|
| 42 |
\value{
|
46 |
\value{
|
| 43 |
These functions are invoked for their side effect of drawing
|
47 |
These functions are invoked for their side effect of drawing
|
| 44 |
in the active graphics device.
|
48 |
in the active graphics device.
|
| 45 |
}
|
49 |
}
|