Description Usage Arguments Examples
This function predicts a value of Y based on my_ridge
1 | predict_ridge(object, ...)
|
object |
the my_ridge object |
... |
the data frame used to fit the object |
1 2 3 4 5 6 | data("iris")
irisdf <- as.data.frame(iris)
irissamdf <- irisdf[sample(nrow(irisdf), 0.2*nrow(irisdf)), ]
irisform <- Sepal.Length ~.
obj <- my_ridge(irisform, irissamdf, 0.02)
predict_ridge(obj, irisdf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.