One-Dimensional Scatter Plot

DESCRIPTION:

Create a one-dimensional Trellis scatter plot. The data are split into groups based on the y variable. A modified version of the plot is created if the data argument is a bigdata bdFrame (see the DETAILS).

USAGE:

stripplot(formula, jitter = FALSE, ...) 
The following arguments have special meaning within this function. The common meanings for these and all other arguments are listed separately under trellis.args.

ARGUMENTS:

formula
a formula in the form y ~ x | g1 * g2 * ... however the given variables `g1', `g2', `...' may be omitted. y in formula will be coerced into a factor or shingle. x must be numeric.
jitter
logical flag, should the data be jittered in a vertical direction in order to avoid overplotting. If date is a bdFrame this argument is ignored.

VALUE:

an object of class trellis, which is automatically plotted by print.trellis.

DETAILS:

If the data argument is a bdFrame then colored rectangles, to indicate the density of points, are drawn instead of the individual points. A key is also drawn to show the color - count mapping.

SEE ALSO:

, .

EXAMPLES:

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