kfold_logit | R Documentation |
Function for linear model and its results
kfold_logit(data, formula = "y ~ .", k = 10)
data |
Name of the data frame. |
formula |
Model in the format "y ~ x". Default: Predict variable y with all other variables. |
k |
Number of kfolds. Default: 10. |
kfold_logit(ISLR::Smarket, "Direction ~ .")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.