| update.prObj | R Documentation |
Update a prEntries, prBlocks, or prHvrules object
with a new style and/or new scale. This is an internal utility function,
not intended to be called directly by package users.
## S3 method for class 'prObj'
update(object, style=NULL, scale=NULL, ...)
object |
A |
style |
Optional |
scale |
Optional numeric multiplier used to increase or decrease the displayed
size of table elements, relative to the natural size implied by the
(possibly updated) style. The default is to use the current scaling of
|
... |
Ignored, with a warning. (Included for compatibility with the generic.) |
The enabled field is not changed for any elements. (Changing
enabled for entries could have cascading effects on blocks and
hvrules.)
To provide a mechanism to hold graphical properties fixed for certain
elements, style is not applied to any elements for which
style_row is 0. This will be true for elements created manually
via addBlock or addHvrule for example. Graphical properties
for such elements can be changed using props<-.
The style of a prHvrules object cannot be updated directly, because
the object does not contain the block information generally needed to
apply styles. Instead, a new set of hvrules should be created from a
tblBlocks object with the desired style, using function
prHvrules.
An object with the same class as object. See prEntries,
prBlocks, or prHvrules for the structure of these objects.
styleObj, update.prTable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.