Learn R Programming

lattice (version 0.2-3)

stripplot: Strip Plots

Description

Draw Strip plots (One dimensional scatter plots)

Usage

stripplot(formula, jitter = F, factor = .5, ...)

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
jitter
logical specifying whether the values should be jittered by adding a random noise.
factor
numeric controlling amount of jitter.
...
other arguments

synopsis

stripplot(formula, panel, data, jitter = F, factor = .5, box.ratio, ...)

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