powered by
Network-Valued to Matrix-Valued Data
repr_nvd(x, y = NULL, representation = "adjacency")
A list of matrices.
An nvd object.
nvd
An nvd object. If NULL (default), it is not taken into account.
NULL
A string specifying the requested matrix representation. Choices are: "adjacency", "laplacian" or "modularity". Default is "adjacency".
"adjacency"
"laplacian"
"modularity"
gnp_params <- list(p = 1/3) x <- nvd(model = "gnp", n = 10L, model_params = gnp_params) xm <- repr_nvd(x)
Run the code above in your browser using DataLab