Description Usage Arguments Value Examples
Train CV Log. Regression Model
1 | train_pedis(X, y, folds)
|
X |
Matrix containing the predictor variables |
y |
Vector containing the outcome variables |
A train object of class pedis_train
1 2 3 4 5 | data(pedis)
X_y <- prepare_X_y(pedis, outcome = "minor_amputation", var = c("p", "d"))
folds <- create_folds(X_y$y)
fit <- train_pedis(X = X_y$X, y = X_y$y, folds = folds)
class(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.