lattice (version 0.3-1)

stripplot: Strip Plots

Description

Draw Strip plots (One dimensional scatter plots)

Usage

stripplot(formula,
          data = parent.frame(),
          jitter = FALSE,
          factor = .5,
          box.ratio = if (jitter) 1 else 0,
          ...)

Arguments

formula
a formula describing the form of conditioning plot. A formula of the form y ~ x | g1 * g2 * ... indicates that stripplots of x should be produced for each level of y conditional on the variables g
data
optional data frame in which the elements in the formula and some other arguments are to be evaluated
jitter
logical specifying whether the values should be jittered by adding a random noise.
factor
numeric controlling amount of jitter.
box.ratio
as in bwplot
...
other arguments

synopsis

stripplot(formula, data = parent.frame(), panel = "panel.stripplot", prepanel = NULL, strip = TRUE, jitter = FALSE, factor = 0.5, box.ratio = if (jitter) 1 else 0, groups = NULL, ..., subset = TRUE)

Details

see the documentation for trellis.args.

See Also

trellis.args, panel.stripplot, jitter, Lattice

Examples

Run this code
data(singer)
stripplot(voice.part ~ jitter(height), data = singer, aspect = 1,
          jitter = T, xlab = "Height (inches)")

Run the code above in your browser using DataLab