Learn R Programming

descr (version 1.1.8)

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 freqtable
plot(x, y.axis = "count", ...)

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.

Author

Jakson A. Aquino jalvesaq@gmail.com