Plot the solution path for the partial correlations.
# S3 method for ggmncv plot(x, size = 1, alpha = 0.5, ...)
x | An object of class |
---|---|
size | Numeric. Line size in |
alpha | Numeric. The transparency of the lines. |
... | Currently ignored. |
A ggplot
object.
# \donttest{ # data Y <- GGMncv::ptsd[,1:10] # correlations S <- cor(Y, method = "spearman") # fit model # default: atan fit <- ggmncv(R = S, n = nrow(Y), progress = FALSE) # plot plot(fit) # lasso fit <- ggmncv(R = S, n = nrow(Y), progress = FALSE, penalty = "lasso") # plot plot(fit) # }