gSLOPE
is an R package that estimates a sparse precision matrix based on regularization by the SLOPE.
Run the following code in R console to download the latest development version from Github:
if (!require(devtools)) {
install.packages('devtools')
}
devtools::install_github("StatsIMUWr/gslope")
The main function of the package is gslope
. It estimates the precision matrix . summary
and plot
methods are available. Details can be found in documentation online.
library(gslope)
d = gslope(mtcars)
summary(d)
coef(d)
graph_plot(d)
plot(d, col = "navy", plt = "corr")
plot(d, plt = "precision")