I\'m trying to compute one step forecast in glmnet package. Below is an example:
glmnet
x = matrix(rnorm(100 * 20), 100, 20) y = rnorm(100) cv.fit = cv.