| summary.net_mlvar | R Documentation |
Summary method for net_mlvar
## S3 method for class 'net_mlvar'
summary(object, ...)
object |
A |
... |
Unused; present for S3 consistency. |
A tidy data.frame of per-network metrics (one row per network:
temporal, contemporaneous, between). Use coefs(object) for the
fixed-effect coefficient table, edges(object) for the edge list, and
nodes(object) for node strengths.
set.seed(1)
n_id <- 8; n_t <- 30; vars <- c("A", "B", "C")
rows <- lapply(seq_len(n_id), function(i) {
m <- as.data.frame(matrix(rnorm(n_t * 3), ncol = 3))
names(m) <- vars
m$id <- i; m$day <- 1L; m$beep <- seq_len(n_t)
m
})
d <- do.call(rbind, rows)
fit <- fit_mlvar(d, vars = vars, id = "id", day = "day", beep = "beep")
print(fit)
summary(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.