new_SimplePlotTable: Construct a new SimplePlotTable

Description Usage Arguments Value Examples

View source: R/simplePlotTable.R

Description

Construct a new SimplePlotTable

Usage

1
2
3
4
5
new_SimplePlotTable(
  data,
  col_names = colnames(data),
  row_names = rownames(data)
)

Arguments

data

The data.frame that should be displayed

col_names

The column headers to display, defaults to data's colnames

row_names

The row headers to display, defaults to data's rownames

Value

A new SimplePlotTaböe

Examples

1
2
3
4
5
table <- new_SimplePlotTable(mtcars)

renamed_table <- new_SimplePlotTable(
  mtcars[, c("mpg", "cyl")],
  col_names=c("Miles/gallon", "Cylinders"))

Schmitzi/simplePlotTable documentation built on March 21, 2021, 4:35 a.m.