print.eigcv | R Documentation |
Print cross-validated eigenvalues
## S3 method for class 'eigcv'
print(x, ...)
x |
An |
... |
Ignored. |
x
, but invisibly.
library(fastRG)
set.seed(27)
B <- matrix(0.1, 5, 5)
diag(B) <- 0.3
model <- sbm(
n = 1000,
k = 5,
B = B,
expected_degree = 40,
poisson_edges = FALSE,
allow_self_loops = FALSE
)
A <- sample_sparse(model)
eigs<- eigcv(A, k_max = 10)
eigs
plot(eigs, type = "z-score") # default
plot(eigs, type = "adjacency")
plot(eigs, type = "laplacian")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.