This function shows one or more inductive code trees.
A rock_parsedSources
object (the result of a call to
rock::parse_sources
).
A regular expression: only code trees from codes coded with a coding pattern with this name will be shown.
Whether to show the code tree in the console (text
),
as a plot (plot
), or both (both
).
The level of the heading to insert when showing the code tree as text.
Arguments to pass on to,
respectively, data.tree::SetNodeStyle()
, data.tree::SetEdgeStyle()
,
and data.tree::SetGraphStyle()
.
x
, invisibly, unless being knitted into R Markdown,
in which case a knitr::asis_output()
-wrapped character vector is returned.