View source: R/centrality_stability.R
| summary.net_stability | R Documentation |
Returns the mean correlation at each drop proportion for each measure.
## S3 method for class 'net_stability'
summary(object, ...)
object |
A |
... |
Additional arguments (ignored). |
A data frame with columns measure, drop_prop,
mean_cor, sd_cor, prop_above.
net <- build_network(data.frame(V1 = c("A","B","C","A"),
V2 = c("B","C","A","B")), method = "relative")
cs <- centrality_stability(net, iter = 10, drop_prop = 0.3)
summary(cs)
set.seed(1)
seqs <- data.frame(
V1 = sample(c("A","B","C"), 30, TRUE),
V2 = sample(c("A","B","C"), 30, TRUE),
V3 = sample(c("A","B","C"), 30, TRUE)
)
net <- build_network(seqs, method = "relative")
stab <- centrality_stability(net, measures = c("InStrength","OutStrength"),
iter = 10)
summary(stab)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.