textTable.default: Create a 'texttable' Object from a Suitable List

Description Usage Arguments Details Value See Also

View source: R/textTable.bare.R

Description

Create a textTable object from a list with one component per table part, with validity checking. Components partdim, rowhier, colhier are added/re-derived from the table parts. Missing type and justification attributes are added. Components are put in standard order. This is an internal function not intended to be called by package users.

Usage

1
2
## Default S3 method:
textTable(x, ...)

Arguments

x

A list with components for each of the table parts. See ?textTable for a description of the table components. May also be an atomic vector, which will be converted to a 1-column matrix and passed to the matrix method.

...

Ignored, with a warning. (Present for compatibility with the generic.)

Details

Methods to create a textTable from other object classes should generally finish by calling this function. It will do validity checking and fill in or update the necessary components and attributes.

Value

An object with S3 class textTable. Table parts will be in standard order: "title", "subtitle", "rowhead", "rowheadLabels", "colhead", "body", "foot".

See Also

textTable for documentation about the class.


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