Promote a data frame to a
prBlocks object, containing plot-ready
blocks for a table. This is an internal function not intended to be
called by package users.
An object inheriting from
Normally plot-ready blocks are created from a
tblBlocks object via
prBlocks. This function allows them to be created or
edited directly in a data frame, without necessarily using a predefined
acol2 refer to
row and column numbers in the augmented row-column grid of the table; see
adim for more information.
The graphical properties required for a plot-ready block, and their types,
are defined in object
enabled was not present in
x it will be added,
with value FALSE for all blocks. Attributes
rowheadInside will be added if not
present, with values 1.0, NA, and NA, respectively.
x is already a
prBlocks object, this function does some
validity checks. If
x is NULL, a valid but empty
object is returned.
An object of S3 classes
data.frame. See function
prBlocks for a full description of
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.