View source: R/get_dust_part.R
get_dust_part | R Documentation |
dust
ObjectMaking 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.
get_dust_part(x, part = c("head", "foot", "interfoot", "body"))
x |
An object of class |
part |
|
an object of class data.frame
Return, as a data frame, the part of the table requested in part
Cast an error if x
is not a dust
object.
Cast an error if part
is not one of c("head", "foot",
"interfoot", "body")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.