plot.prEntries: A Plot Method for 'prentries' Objects

Description Usage Arguments Details Value See Also

View source: R/plot.textTable.bare.R

Description

A plot method for prEntries objects, displaying tables using ggplot2 graphics. This is an internal function, not intended to be called by package users.

Usage

1
2
3
4
## S3 method for class 'prEntries'
plot(x, hvruleStyle=tablesggOpt("hvruleStyle"), 
    blockStyle=tablesggOpt("blockStyle"), scale=attr(x, "current_scale"), 
    rowgroupSize=0, ...)

Arguments

x

A prEntries object, containing plot-ready entries for a table.

hvruleStyle, blockStyle, scale, rowgroupSize, plot.margin, sizeAdjust

Arguments used to control the appearance of the plot. See the documentation for plot.textTable for more details about these arguments.

...

Additional arguments, passed to plot.prTable.

Details

This function assumes that the standard set of blocks and hvrules is to be used when plotting the table entries in x. For more control over blocks and hvrules, create them directly (for example by functions tblBlocks and prHvrules) and then combine them with x into a plot-ready table (function prTable).

Value

An object of S3 class pltdTable, inheriting from ggplot. See plot.textTable for details about this object. There is a print (display) method for this class, or the object can be modified in the usual ggplot way before display.

See Also

plot.textTable, print.pltdTable


tablesgg documentation built on June 3, 2021, 1:06 a.m.