View source: R/bootstrap_network.R
| print.net_bootstrap_group | R Documentation |
Print Method for net_bootstrap_group
## S3 method for class 'net_bootstrap_group'
print(x, ...)
x |
A |
... |
Ignored. |
x invisibly.
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)
print(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)
print(boot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.