Print the summary of a group of transition trees
Source:R/context_tree.R
print.summary.transitiontrees_group.Rdprint() prints the table returned by
summary.transitiontrees_group() under a one-line header, with
numeric columns rounded.
Usage
# S3 method for class 'summary.transitiontrees_group'
print(x, digits = 3L, ...)Examples
groups <- context_tree(group_regulation_long, actor = "Actor",
time = "Time", action = "Action",
group = "Achiever", max_depth = 2)
print(summary(groups), digits = 2)
#> <transitiontrees_group summary> 2 groups
#>
#> group n_seq n_obs n_nodes max_depth pruned logLik df nobs AIC BIC
#> High 1000 13721 80 2 FALSE -22773 640 13721 46826 51643
#> Low 1000 13812 82 2 FALSE -22968 656 13812 47248 52190
#> perplexity
#> 5.3
#> 5.3