update.latexTable: Update a latexTable object with new arguments.

update.latexTableR Documentation

Update a latexTable object with new arguments.

Description

Each latexTable object stores, as an attribute, the call that produced\NBit. update.latexTable() updates the call by replacing arguments or adding new ones. It then calls latexTable() to produce a new latexTable object.

Usage

## S3 method for class 'latexTable'
update(object, ...)

Arguments

object

A latexTable object

...

Arguments to latexTable(), e.g., colNames, caption.

Details

update.latexTable() is adapted from stats::update.default(). It is a method for the generic update().

Value

A latexTable object.

Examples

lT1 <- latexTable(matrix(1:16, nrow = 4))
lT2 <- update(lT1, mat = matrix(2:17, nrow = 8), commandName = "intTable")

jbullock35/Bullock documentation built on April 1, 2022, 6:21 p.m.