powered by
genp(p, sparsity, sigma)
set.seed(1) sparsematrix<-genp(50,0.05,0.5)
Run the code above in your browser using DataLab