ridge.tune(y, x, M = 10, lambda = seq(0, 2, by = 0.1), mat = NULL,
ncores = 1, graph = FALSE)alfaridge.tune.ridge.reg, alfaridge.tuney <- iris[, 1]
x <- iris[, 2:4]
ridge.tune( y, x, M = 10, lambda = seq(0, 2, by = 0.1), graph = TRUE )Run the code above in your browser using DataLab