View source: R/as.dfObj.bare.R
| as.prBlocks | R Documentation |
prblocks Object 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.
as.prBlocks(x)
x |
An object inheriting from |
Normally plot-ready blocks are created from a tblBlocks object via
function prBlocks. This function allows them to be created or
edited directly in a data frame, without necessarily using a predefined
style.
Columns arow1, arow2, acol1 and 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 grSpecs.
If column enabled was not present in x it will be added,
with value FALSE for all blocks. Attributes current_scale,
rowgroupSize, and rowheadInside will be added if not
present, with values 1.0, NA, and NA, respectively.
If x is already a prBlocks object, this function does some
validity checks. If x is NULL, a valid but empty prBlocks
object is returned.
An object of S3 classes prBlocks, tblBlocks, and
data.frame. See function prBlocks for a full description of
the class.
prBlocks, tblBlocks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.