View source: R/bootstrap_network.R
| summary.net_bootstrap_group | R Documentation |
Summary Method for net_bootstrap_group
## S3 method for class 'net_bootstrap_group'
summary(object, ...)
object |
A |
... |
Ignored. |
A data frame with group, edge, and bootstrap statistics columns.
seqs <- data.frame(V1 = c("A","B","A","C"), V2 = c("B","C","C","A"),
V3 = c("C","A","B","B"), grp = c("X","X","Y","Y"))
nets <- build_network(seqs, method = "relative", group = "grp")
boot <- bootstrap_network(nets, iter = 10)
summary(boot)
set.seed(1)
seqs <- data.frame(
V1 = c("A","B","A","C","B","A"),
V2 = c("B","C","B","A","C","B"),
V3 = c("C","A","C","B","A","C"),
grp = c("X","X","X","Y","Y","Y")
)
nets <- build_network(seqs, method = "relative", group = "grp")
boot <- bootstrap_network(nets, iter = 20)
summary(boot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.