train {caret} | inside-R | A Community Site for R
Usage train(x, ...) ## S3 method for class 'default': train((x, y, method = "rf", preProcess = NULL, ..., weights = NULL, metric = ifelse(is.factor(y), "Accuracy", "RMSE"), maximize = ifelse(metric %in% c("RMSE", "logLoss"), FALSE ......