View source: R/plot-nestimate.R
| plot_net_stability | R Documentation |
Visualizes the centrality stability analysis from a net_stability
object. Shows how centrality correlations drop as cases are removed.
plot_net_stability(x, ...)
## S3 method for class 'net_stability'
plot(x, ...)
x |
A |
... |
Additional graphical arguments. |
Invisibly returns x.
set.seed(1)
seqs <- data.frame(T1 = sample(c("A","B","C"), 30, replace = TRUE),
T2 = sample(c("A","B","C"), 30, replace = TRUE))
net <- Nestimate::build_network(seqs, method = "tna")
cs <- Nestimate::centrality_stability(net, iter = 10)
plot_net_stability(cs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.