
Plot Method for htna Centrality Stability Objects
Source:R/methods-stability.R
plot.htna_stability.RdS3 method for plotting htna centrality stability results. Dispatches to cograph's plotting method with htna-specific styling.
Usage
# S3 method for class 'htna_stability'
plot(x, ...)Arguments
- x
An object of class
htna_stabilityfromcentrality_stability_htna().- ...
Additional arguments passed to the plotting method.
Examples
# \donttest{
data(human_ai)
net <- build_htna(human_ai, actor_type = "actor_type")
#> Warning: A network with one long sequence is not recommended and can't be validated using bootstrap and other confirmatory testings.
#> Metadata aggregated per session: ties resolved by first occurrence in 'session_date' (1 sessions), 'cluster' (42 sessions), 'actor_type' (24 sessions)
cs <- centrality_stability_htna(net, iter = 20, seed = 1)
plot(cs)
# }