View source: R/build_network.R
| print.netobject_ml | R Documentation |
Print Method for Multilevel Network Object
## S3 method for class 'netobject_ml'
print(x, ...)
x |
A |
... |
Additional arguments (ignored). |
The input object, invisibly.
set.seed(1)
obs <- data.frame(id = rep(1:3, each = 5),
A = rnorm(15), B = rnorm(15), C = rnorm(15))
net_ml <- build_network(obs, method = "cor",
params = list(id = "id"), level = "both")
print(net_ml)
set.seed(1)
obs <- data.frame(
id = rep(1:5, each = 8),
A = rnorm(40), B = rnorm(40),
C = rnorm(40), D = rnorm(40)
)
net_ml <- build_network(obs, method = "cor",
params = list(id = "id"), level = "both")
print(net_ml)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.