Learn R Programming

descr (version 1.0.0)

plot.freqtable: Bar plot from object of class freqtable

Description

This function receives a freqtable object as its main argument and produces a barplot.

Usage

## S3 method for class 'freqtable':
plot(x, y.axis = "count", \dots)

Arguments

x
A object of class freqtable.
y.axis
Character string, indicating what variable to use in the y axis, "count" or "percent", when plotting the frequency table.
...
Further arguments to be passed to barplot.