rmd_subset | R Documentation |
Subset an rmd object based on sections, node types, or names.
rmd_subset(
x,
sec_refs = NULL,
type_refs = NULL,
name_refs = NULL,
exclude = FALSE,
keep_yaml = TRUE,
keep_setup = FALSE,
...
)
x |
rmd object, e.g. |
sec_refs |
Section references, TODO - add details. |
type_refs |
Node type references, TODO - add details. |
name_refs |
Name references, TODO - add details. |
exclude |
Should the matching nodes be excluded. |
keep_yaml |
Should the document yaml be kept. |
keep_setup |
Should the document setup chunk be kept. |
... |
Unused, for extensibility. |
Returns a subset Rmd object (either rmd_ast
or rmd_tibble
depending on input).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.