Learn R Programming

tablesgg (version 0.9-1)

plot.tabular: A Plot Method for tabular Objects

Description

A plot method for tabular objects, which represent a 2D data summary table. The table is displayed using ggplot2 graphics.

Usage

# S3 method for tabular
plot(x, ...)

Value

An object of S3 class pltdTable, inheriting from ggplot. See the documentation for plot.textTable for more information.

Arguments

x

An object of class tabular, representing a 2D data summary table, as produced by the tables package by Duncan Murdoch.

...

Additional arguments passed to format.tabular or plot.textTable. See the documentation for those functions.

Details

This function is a simple wrapper that first converts x to a textTable object, and then plots that object.

See Also

plot.textTable, format.tabular, textTable.tabular