print.eigcv {gdim} | R Documentation |
Print cross-validated eigenvalues
Description
Print cross-validated eigenvalues
Usage
## S3 method for class 'eigcv'
print(x, ...)
Arguments
x |
An |
... |
Ignored. |
Value
x
, but invisibly.
Examples
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")
[Package gdim version 0.1.0 Index]