Nothing
func.createSample <-
function( input ){
n <- nrow(input$modelData)
#DEFAULT: Leave-One-Out cross validation, number of groups is equal to the number of elements
if( input$nFold == n )
return( 1:n )
else
return( sample(1:n) )
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.