Description Usage Arguments Details Value See Also
View source: R/as.dfObj.bare.R
Promote a data frame to a prEntries
object, containing plot-ready
table entries. This is an internal function not intended to be called by
package users.
1 | as.prEntries(x)
|
x |
An object inheriting from |
Normally plot-ready entries are created from a tblEntries
object
via function prEntries
. 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 entry, and their types,
are defined in object grSpecs
.
If not present, logical column enabled
will be added with value
TRUE for all entries whose text
is not NA or empty. If attribute
current_scale
is not present, it will be added with a value of 1.0.
If attribute rowheadInside
is not present, it will be added with a
value of NA.
If x
is already a prEntries
object, this function does some
validity checks. If x
is NULL, a valid but empty prEntries
object is returned.
An object of S3 classes prEntries
, tblEntries
, and
data.frame
. See function prEntries
for a full description
of the class.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.