plot.tabular {tablesgg}R Documentation

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 class 'tabular'
plot(x, ...)

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.

Value

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

See Also

plot.textTable, format.tabular, textTable.tabular


[Package tablesgg version 0.9-1 Index]