sparse.cor R package for calculating sparse correlations and sparse partial correlations install: library(devtools) install_github("erickramer/sparse.cor")