library(ncvreg)
data(prostate)
exact.path(as.matrix(prostate[,-9]), prostate$lpsa, verbose=TRUE)
library(ncvreg)
data(heart)
exact.path(as.matrix(heart[,-1]), heart$sbp)
library(lars)
data(diabetes)
exact.path(diabetes$x, diabetes$y, verbose=TRUE)
Run the code above in your browser using DataLab