| Line 5... |
Line 5... |
| 5 |
\description{
|
5 |
\description{
|
| 6 |
Produce box-and-whisker plot(s) of the given (grouped) values.
|
6 |
Produce box-and-whisker plot(s) of the given (grouped) values.
|
| 7 |
}
|
7 |
}
|
| 8 |
\usage{
|
8 |
\usage{
|
| 9 |
\method{boxplot}{default}(x, \dots, range = 1.5, width = NULL, varwidth = FALSE,
|
9 |
\method{boxplot}{default}(x, \dots, range = 1.5, width = NULL, varwidth = FALSE,
|
| 10 |
notch = FALSE, names, boxwex = 0.8, plot = TRUE,
|
10 |
notch = FALSE, outline = TRUE, names, boxwex = 0.8, plot = TRUE,
|
| 11 |
border = par("fg"), col = NULL, log = "", pars = NULL,
|
11 |
border = par("fg"), col = NULL, log = "", pars = NULL,
|
| 12 |
horizontal = FALSE, add = FALSE, at = NULL)
|
12 |
horizontal = FALSE, add = FALSE, at = NULL)
|
| 13 |
}
|
13 |
}
|
| 14 |
\arguments{
|
14 |
\arguments{
|
| 15 |
\item{x, \dots}{for specifying data from which the boxplots are to be
|
15 |
\item{x, \dots}{for specifying data from which the boxplots are to be
|
| Line 32... |
Line 32... |
| 32 |
of observations in the groups.}
|
32 |
of observations in the groups.}
|
| 33 |
\item{notch}{if \code{notch} is \code{TRUE}, a notch is drawn in
|
33 |
\item{notch}{if \code{notch} is \code{TRUE}, a notch is drawn in
|
| 34 |
each side of the boxes. If the notches of two plots do not
|
34 |
each side of the boxes. If the notches of two plots do not
|
| 35 |
overlap then the medians are significantly different at the 5
|
35 |
overlap then the medians are significantly different at the 5
|
| 36 |
percent level.}
|
36 |
percent level.}
|
| - |
|
37 |
\item{outline}{if \code{outline} is not true, the boxplot lines are
|
| - |
|
38 |
not drawn.}% the argument name is most ugly but S+ compatible
|
| 37 |
\item{names}{group labels which will be printed under each boxplot.}
|
39 |
\item{names}{group labels which will be printed under each boxplot.}
|
| 38 |
\item{boxwex}{a scale factor to be applied to all boxes. When there
|
40 |
\item{boxwex}{a scale factor to be applied to all boxes. When there
|
| 39 |
are only a few groups, the appearance of the plot can be improved
|
41 |
are only a few groups, the appearance of the plot can be improved
|
| 40 |
by making the boxes narrower.}
|
42 |
by making the boxes narrower.}
|
| 41 |
\item{plot}{if \code{TRUE} (the default) then a boxplot is
|
43 |
\item{plot}{if \code{TRUE} (the default) then a boxplot is
|
| Line 56... |
Line 58... |
| 56 |
\item{at}{numeric vector giving the locations where the boxplots should
|
58 |
\item{at}{numeric vector giving the locations where the boxplots should
|
| 57 |
be drawn, particularly when \code{add = TRUE};
|
59 |
be drawn, particularly when \code{add = TRUE};
|
| 58 |
defaults to \code{1:n} where \code{n} is the number of boxes.}
|
60 |
defaults to \code{1:n} where \code{n} is the number of boxes.}
|
| 59 |
}
|
61 |
}
|
| 60 |
\details{
|
62 |
\details{
|
| 61 |
This is a generic function. It currently has a default method
|
63 |
The generic function \code{boxplot} currently has a default method
|
| 62 |
(\code{boxplot.default}) and a formula interface
|
64 |
(\code{boxplot.default}) and a formula interface
|
| 63 |
(\code{\link{boxplot.formula}}).
|
65 |
(\code{\link{boxplot.formula}}).
|
| 64 |
}
|
66 |
}
|
| 65 |
\value{
|
67 |
\value{
|
| 66 |
List with the following components:
|
68 |
List with the following components:
|