View source: R/build_network.R
| print.netobject_group | R Documentation |
Print Method for Group Network Object
## S3 method for class 'netobject_group'
print(x, ...)
x |
A |
... |
Additional arguments (ignored). |
The input object, invisibly.
seqs <- data.frame(V1 = c("A","B","A","B"), V2 = c("B","A","B","A"),
grp = c("X","X","Y","Y"))
nets <- build_network(seqs, method = "relative", group = "grp")
print(nets)
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")
print(nets)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.