#' Create a default trControl object for use with caret
#'
#' @return trainControl
#' @seealso caret::trainControl
#' @author Adam Margolin
#' @export
defaultTrainControl <-
function()
{
caret::trainControl(method = "cv", number=3, returnResamp="all", verboseIter=TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.