get_dust_part {pixiedust} | R Documentation |
Get a Portion of the Table Stored in a dust
Object
Description
Making customized table headers and footers requires a
data frame be added to the dust
object that has the same
column dimension as the rest of the table. In order to reduce the
inconvenience of counting columns, get_dust_part
extracts the
data frame portion currently in use. This ensures the column dimension
is correct with the current values, and provides an object suitable
for editing.
Usage
get_dust_part(x, part = c("head", "foot", "interfoot", "body"))
Arguments
x |
An object of class |
part |
|
Value
an object of class data.frame
Functional Requirements
Return, as a data frame, the part of the table requested in
part
Cast an error if
x
is not adust
object.Cast an error if
part
is not one ofc("head", "foot", "interfoot", "body")
[Package pixiedust version 0.9.4 Index]