

   stripplot {base}                             R Documentation

   11--DD SSccaatttteerr PPlloottss

   DDeessccrriippttiioonn::

        `stripplot' produces one dimensional scatter plots (or
        dot plots) of the given data.  These plots are are good
        alternative to `boxplot's when sample sizes are small.

        Extensive examples of the use of this kind of plot can
        be found in Box, Hunter and Hunter or Seber and Wild.

   UUssaaggee::

        stripplot(x, method="overplot", jitter=0.1, offset=1/3,
                vertical=FALSE, group.names,
                xlim=NULL, ylim=NULL, main="", ylab="", xlab="",
                pch=0, col=par("fg"), cex=par("cex"))

   AArrgguummeennttss::

          x: the data from which the plots are to be produced.
             The data can be specified as a single vector, or
             as list of vectors, each corresponding to a compo-
             nent plot.  Alternatively a symbolic specification
             of the form `x ~ g' can be given, indicating the
             the observations in the vector `x' are to be
             grouped according to the levels of the factor `g'.
             `NA's are allowed in the data.

     method: the method to be used to separate coincident
             points.  The default method `"overplot"' causes
             such points to be overplotted, but it is also pos-
             sible to specify `"jitter"' to jitter the points,
             or `"stack"' have coincident points stacked.  The
             last method only makes sense for very granular
             data.

     jitter: when jittering is used, `jitter' gives the amount
             of jittering applied.

     offset: when stacking is used, points are stacked this
             many line-heights (symbol widths) apart.

   vertical: when vertical is `TRUE' the plots are drawn verti-
             cally rather than the default horizontal.

   group.names: group labels which will be printed alongside
             (or underneath) each plot.

        ...: Graphical parameters can also be specified as
             arguments.

   EExxaammpplleess::

        x <- round(rnorm(50), 1)
        stripplot(x)

