The R Project SVN R

Rev

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

Rev 61431 Rev 61433
Line 23... Line 23...
23
 
23
 
24
\method{stripchart}{default}(x, method = "overplot", jitter = 0.1, offset = 1/3,
24
\method{stripchart}{default}(x, method = "overplot", jitter = 0.1, offset = 1/3,
25
           vertical = FALSE, group.names, add = FALSE,
25
           vertical = FALSE, group.names, add = FALSE,
26
           at = NULL, xlim = NULL, ylim = NULL,
26
           at = NULL, xlim = NULL, ylim = NULL,
27
           ylab = NULL, xlab = NULL, dlab = "", glab = "",
27
           ylab = NULL, xlab = NULL, dlab = "", glab = "",
28
           log = "", pch = 0, col = par("fg"), cex = par("cex"), 
28
           log = "", pch = 0, col = par("fg"), cex = par("cex"),
29
           axes = TRUE, frame.plot = axes, \dots)
29
           axes = TRUE, frame.plot = axes, \dots)
30
}
30
}
31
\arguments{
31
\arguments{
32
  \item{x}{the data from which the plots are to be produced.  In the
32
  \item{x}{the data from which the plots are to be produced.  In the
33
    default method the data can be specified as a single numeric
33
    default method the data can be specified as a single numeric
34
    vector, or as list of numeric vectors, each corresponding to
34
    vector, or as list of numeric vectors, each corresponding to
35
    a component plot.  In the \code{formula} method, a symbolic
35
    a component plot.  In the \code{formula} method, a symbolic
36
    specification of the form \code{y ~ g} can be given,
36
    specification of the form \code{y ~ g} can be given,
37
    indicating the observations in the vector \code{y} are to be
37
    indicating the observations in the vector \code{y} are to be
38
    grouped according to the levels of the factor
38
    grouped according to the levels of the factor
39
    \code{g}.  \code{NA}s are allowed in the data.} 
39
    \code{g}.  \code{NA}s are allowed in the data.}
40
  \item{data}{a data.frame (or list) from which the variables in
40
  \item{data}{a data.frame (or list) from which the variables in
41
    \code{x} should be taken.}
41
    \code{x} should be taken.}
42
  \item{subset}{an optional vector specifying a subset of observations
42
  \item{subset}{an optional vector specifying a subset of observations
43
    to be used for plotting.}
43
    to be used for plotting.}
44
  \item{na.action}{a function which indicates what should happen
44
  \item{na.action}{a function which indicates what should happen
Line 65... Line 65...
65
    be drawn, particularly when \code{add = TRUE};
65
    be drawn, particularly when \code{add = TRUE};
66
    defaults to \code{1:n} where \code{n} is the number of boxes.}
66
    defaults to \code{1:n} where \code{n} is the number of boxes.}
67
  \item{ylab, xlab}{labels: see \code{\link{title}}.}
67
  \item{ylab, xlab}{labels: see \code{\link{title}}.}
68
  \item{dlab, glab}{alternate way to specify axis labels: see \sQuote{Details}.}
68
  \item{dlab, glab}{alternate way to specify axis labels: see \sQuote{Details}.}
69
  \item{xlim, ylim}{plot limits: see \code{\link{plot.window}}.}
69
  \item{xlim, ylim}{plot limits: see \code{\link{plot.window}}.}
70
  \item{log}{on which axes to use a log scale:  see 
70
  \item{log}{on which axes to use a log scale:  see
71
    \code{\link{plot.default}}}
71
    \code{\link{plot.default}}}
72
  \item{pch, col, cex}{Graphical parameters: see \code{\link{par}}.}
72
  \item{pch, col, cex}{Graphical parameters: see \code{\link{par}}.}
73
  \item{axes, frame.plot}{Axis control:  see \code{\link{plot.default}}}
73
  \item{axes, frame.plot}{Axis control:  see \code{\link{plot.default}}}
74
}
74
}
75
\details{
75
\details{
76
  Extensive examples of the use of this kind of plot can be found in
76
  Extensive examples of the use of this kind of plot can be found in
77
  Box, Hunter and Hunter or Seber and Wild.
77
  Box, Hunter and Hunter or Seber and Wild.
78
  
78
 
79
  The \code{dlab} and \code{glab} labels may be used instead of \code{xlab}
79
  The \code{dlab} and \code{glab} labels may be used instead of \code{xlab}
80
  and \code{ylab} if those are not specified.  \code{dlab} applies to the 
80
  and \code{ylab} if those are not specified.  \code{dlab} applies to the
81
  continuous data axis (the X axis unless \code{vertical} is \code{TRUE}),
81
  continuous data axis (the X axis unless \code{vertical} is \code{TRUE}),
82
  \code{glab} to the group axis.
82
  \code{glab} to the group axis.
83
}
83
}
84
\examples{
84
\examples{
85
x <- stats::rnorm(50)
85
x <- stats::rnorm(50)