Plotting factor variables

Usage

plot.factor(x, y, ...)

Arguments

x,y numeric or factor. y may be missing.
... Further arguments to plot, see also par.

Description

This functions implements a ``scatterplot'' method for factor arguments of the generic plot function. Actually, boxplot or barplot are used when appropriate.

See Also

plot.default, plot.formula.

Examples

data(plants)
plot(plants)#-> plot.data.frame
plot(weight ~ group, data=plants)#-> plot.formula and plot.factor


[Package Contents]