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,
...
)Returns a subset Rmd object (either rmd_ast or rmd_tibble depending on input).
rmd object, e.g. rmd_ast or rmd_tibble.
Section references, TODO - add details.
Node type references, TODO - add details.
Name references, TODO - add details.
Should the matching nodes be excluded.
Should the document yaml be kept.
Should the document setup chunk be kept.
Unused, for extensibility.