The R Project SVN R

Rev

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

Rev 74265 Rev 75488
Line 13... Line 13...
13
}
13
}
14
\usage{
14
\usage{
15
boxplot(x, \dots)
15
boxplot(x, \dots)
16
 
16
 
17
\method{boxplot}{formula}(formula, data = NULL, \dots, subset, na.action = NULL,
17
\method{boxplot}{formula}(formula, data = NULL, \dots, subset, na.action = NULL,
-
 
18
        xlab = paste(names(mf)[-response], collapse = " : "),
-
 
19
        ylab = names(mf)[ response],
-
 
20
        add = FALSE, ann = !add,
18
        drop = FALSE, sep = ".", lex.order = FALSE)
21
        drop = FALSE, sep = ".", lex.order = FALSE)
19
 
22
 
20
\method{boxplot}{default}(x, \dots, range = 1.5, width = NULL, varwidth = FALSE,
23
\method{boxplot}{default}(x, \dots, range = 1.5, width = NULL, varwidth = FALSE,
21
        notch = FALSE, outline = TRUE, names, plot = TRUE,
24
        notch = FALSE, outline = TRUE, names, plot = TRUE,
22
        border = par("fg"), col = NULL, log = "",
25
        border = par("fg"), col = NULL, log = "",
Line 24... Line 27...
24
        horizontal = FALSE, add = FALSE, at = NULL)
27
        horizontal = FALSE, add = FALSE, at = NULL)
25
}
28
}
26
\arguments{
29
\arguments{
27
  \item{formula}{a formula, such as \code{y ~ grp}, where \code{y} is a
30
  \item{formula}{a formula, such as \code{y ~ grp}, where \code{y} is a
28
    numeric vector of data values to be split into groups according to
31
    numeric vector of data values to be split into groups according to
29
    the grouping variable \code{grp} (usually a factor).}
32
    the grouping variable \code{grp} (usually a factor).  Note that
-
 
33
    \code{~ g1 + g2} is equivalent to \code{g1:g2}.}
30
  \item{data}{a data.frame (or list) from which the variables in
34
  \item{data}{a data.frame (or list) from which the variables in
31
    \code{formula} should be taken.}
35
    \code{formula} should be taken.}
32
  \item{subset}{an optional vector specifying a subset of observations
36
  \item{subset}{an optional vector specifying a subset of observations
33
    to be used for plotting.}
37
    to be used for plotting.}
34
  \item{na.action}{a function which indicates what should happen
38
  \item{na.action}{a function which indicates what should happen
35
    when the data contain \code{NA}s.  The default is to ignore missing
39
    when the data contain \code{NA}s.  The default is to ignore missing
36
    values in either the response or the group.}
40
    values in either the response or the group.}
-
 
41
  \item{xlab, ylab}{x- and y-axis annotation, since \R 3.6.0 with a
-
 
42
    non-empty default.  Can be suppressed by \code{ann=FALSE}.}
-
 
43
  \item{ann}{\code{\link{logical}} indicating if axes should be annotated (by
-
 
44
    \code{xlab} and \code{ylab}).}
37
  \item{drop, sep, lex.order}{passed to \code{\link{split.default}}, see there.}
45
  \item{drop, sep, lex.order}{passed to \code{\link{split.default}}, see there.}
38
  \item{x}{for specifying data from which the boxplots are to be
46
  \item{x}{for specifying data from which the boxplots are to be
39
    produced. Either a numeric vector, or a single list containing such
47
    produced. Either a numeric vector, or a single list containing such
40
    vectors. Additional unnamed arguments specify further data
48
    vectors. Additional unnamed arguments specify further data
41
    as separate vectors (each corresponding to a component boxplot).
49
    as separate vectors (each corresponding to a component boxplot).