plot.table: Print a table as a figure using grid graphics.

Description Usage Arguments Note

Description

Print a table as a figure using grid graphics.

Usage

1
2
3
4
plot.table(data, plotters = list("c"), col.widths = NULL,
  table.border = FALSE, table.border.gpar = NULL, cell.mar = 0.05,
  cell.border = FALSE, cell.border.gpar = NULL,
  header.gpar = gpar(fontface = "bold"), default.gpar = gpar())

Arguments

data

matrix or data frame

plotters

list of plotters to use (will be recycled if length is shorter than 'ncol(data)'). Each element is either a name of a pre-defined plot function, or a list with 'fn' set to the plotter function name and additional elements being arguments that will be passed to the plotting function.

col.widths

vector of column widths

table.border

logical; whether to draw a border around the table.

table.border.gpar

list of graphical parameters to use when drawing borders.

cell.mar

size of margin around values in table cells.

cell.border

logical; whether to draw borders around cells.

cell.border.gpar

list of graphical parameters to use when drawing cell borders.

header.gpar

list of graphical parameters to use when drawing column headers.

default.gpar

list of default graphical parameters to use when drawing cell values.

Note

If you are using knitr, it is much better to use pander to format tables.


jdidion/fancyplots documentation built on May 18, 2019, 11:30 p.m.