Coerce a Group of Trees to One Tidy Data Frame
Source:R/context_tree.R
as.data.frame.transitiontrees_group.RdRow-binds each group's tree_pathways table, tagged
with a leading group column, so the whole batch is one tidy
frame ready to filter, facet, or join.
Usage
# S3 method for class 'transitiontrees_group'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)Arguments
- x
A
transitiontrees_group.- row.names, optional
Ignored.
- ...
Forwarded to
tree_pathways().