| sna | R Documentation |
Build a Social Network Analysis Model
sna(x, aggregate = sum, ...)
x |
A |
aggregate |
A |
... |
Additional arguments passed to |
A tna object representing the model.
set.seed(123)
d <- data.frame(
from = sample(LETTERS[1:4], 100, replace = TRUE),
to = sample(LETTERS[1:4], 100, replace = TRUE),
weight = rexp(100)
)
model <- sna(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.