dotplot: create a dotplot using stripchart

View source: R/dotplots.R

dotplotR Documentation

create a dotplot using stripchart

Description

A method for creating dotplots. The functions call the stripchart command from the graphics package and assign the output to have the class dotplot.

Usage

dotplot(x, ...)

## S3 method for class 'formula'
dotplot(x, ...)

Arguments

x

a vector or formula, where the right hand side of the formula is a factor.

...

other graphical parameters including those passed to title.

Details

This function was created as a result of being unable to assign all graphical parameters that are created when a formula is used in stripchart. Users not intending to use the VI method should use stripchart instead.

Value

An object of class dotplot. This class is just a placeholder for the contents of the object used to create a boxplot which would otherwise not be stored in a usable format. The class is not intended for the user; it is a tool that enables the BrailleR package to deliver a readable text version of the plot.

Author(s)

A. Jonathan R. Godfrey

See Also

This function is dependent on the stripchart function from the graphics package. Consult its help page for more information.

Examples

VI(with(airquality, dotplot(Ozone~Month)))

BrailleR documentation built on July 26, 2023, 5:46 p.m.