R exercise

Ridge Regression 1

Sign in to hand in your solution and get feedback.

grid <- 10^seq(10, -2, length = 100) x <- ... y <- ... ridge.mod <- ...