| Line 13... |
Line 13... |
| 13 |
component boxplot, or as a single list containing such vectors.
|
13 |
component boxplot, or as a single list containing such vectors.
|
| 14 |
Alternatively a symbolic specification of the form \code{x ~ g} can
|
14 |
Alternatively a symbolic specification of the form \code{x ~ g} can
|
| 15 |
be given, indicating the the observations in the vector \code{x} are
|
15 |
be given, indicating the the observations in the vector \code{x} are
|
| 16 |
to be grouped according to the levels of the factor \code{g}. In
|
16 |
to be grouped according to the levels of the factor \code{g}. In
|
| 17 |
this case the argument \code{data} can be used to provide values for
|
17 |
this case the argument \code{data} can be used to provide values for
|
| 18 |
the variables in the specification.
|
18 |
the variables in the specification.
|
| 19 |
\code{NA}s are allowed in the data.}
|
19 |
\code{NA}s are allowed in the data.}
|
| 20 |
\item{range}{this determines how far the plot whiskers extend out from
|
20 |
\item{range}{this determines how far the plot whiskers extend out from
|
| 21 |
the box. If \code{range} is positive, the whiskers extend to the
|
21 |
the box. If \code{range} is positive, the whiskers extend to the
|
| 22 |
most extreme data point which is no more than \code{range} times the
|
22 |
most extreme data point which is no more than \code{range} times the
|
| 23 |
interquartile range from the box.
|
23 |
interquartile range from the box.
|
| 24 |
A value of zero causes the whiskers to extend to the data extremes.}
|
24 |
A value of zero causes the whiskers to extend to the data extremes.}
|
| 25 |
\item{width}{a vector giving the relative widths of the boxes making
|
25 |
\item{width}{a vector giving the relative widths of the boxes making
|
| 26 |
up the plot.}
|
26 |
up the plot.}
|
| 27 |
\item{varwidth}{if \code{varwidth} is \code{TRUE}, the boxes are drawn
|
27 |
\item{varwidth}{if \code{varwidth} is \code{TRUE}, the boxes are drawn
|
| 28 |
with widths proportional to the square-roots of the number of
|
28 |
with widths proportional to the square-roots of the number of
|
| 29 |
observations in the groups.}
|
29 |
observations in the groups.}
|
| 30 |
\item{notch}{if \code{notch} is \code{TRUE}, a notch is drawn in each
|
30 |
\item{notch}{if \code{notch} is \code{TRUE}, a notch is drawn in each
|
| 31 |
side of the boxes. If the notches of two plots do not overlap then
|
31 |
side of the boxes. If the notches of two plots do not overlap then
|
| 32 |
the medians are significantly different at the 5 percent level.}
|
32 |
the medians are significantly different at the 5 percent level.}
|
| 33 |
\item{names}{group labels which while be printed under each boxplot.}
|
33 |
\item{names}{group labels which while be printed under each boxplot.}
|
| 34 |
\item{data}{???}
|
34 |
\item{data}{???}
|
| 35 |
\item{plot}{if \code{TRUE} (the default) then a boxplot is produced.
|
35 |
\item{plot}{if \code{TRUE} (the default) then a boxplot is produced.
|
| 36 |
If not, the summaries which the boxplots are based on are returned.}
|
36 |
If not, the summaries which the boxplots are based on are returned.}
|
| 37 |
\item{border}{an optional vector of colors for the outlines of the
|
37 |
\item{border}{an optional vector of colors for the outlines of the
|
| 38 |
boxplots. The values in \code{border} are recycled if the length of
|
38 |
boxplots. The values in \code{border} are recycled if the length of
|
| 39 |
\code{border} is less than the number of plots.}
|
39 |
\code{border} is less than the number of plots.}
|
| 40 |
\item{col}{if \code{col} is non-null it is assumed to contain colors
|
40 |
\item{col}{if \code{col} is non-null it is assumed to contain colors
|
| 41 |
to be used to col the bodies of the box plots.}
|
41 |
to be used to col the bodies of the box plots.}
|
| 42 |
\item{log}{???}
|
42 |
\item{log}{???}
|
| 43 |
\item{pars}{???}
|
43 |
\item{pars}{???}
|
| 44 |
\item{\dots}{graphical parameters can also be passed as arguments to
|
44 |
\item{\dots}{graphical parameters can also be passed as arguments to
|
| Line 63... |
Line 63... |
| 63 |
}
|
63 |
}
|
| 64 |
\examples{
|
64 |
\examples{
|
| 65 |
data(insects)
|
65 |
data(insects)
|
| 66 |
boxplot(count ~ spray, data = insects, col = "lightgray")
|
66 |
boxplot(count ~ spray, data = insects, col = "lightgray")
|
| 67 |
}
|
67 |
}
|
| - |
|
68 |
\keyword{hplot}
|