powered by
FindAllCG(adjacency.matrix, lc)
FindCG
require(MASS) require(Matrix) p <- 10 Omega <- sparseMatrix(c(1:(p-1),2:p),c(2:p,1:(p-1)),x=1) cg.all <- FindAllCG(Omega,3)
Run the code above in your browser using DataLab