Nothing
cv.split <- function( y, fold )
{
n <- length(y)
group <- table(y)
x <- c()
for ( i in 1:length(group) )
{
x.group <- c(1:n)[ y==names(group)[i] ]
x <- c( x, sample(x.group) )
}
foldi <- split( x, rep(1:fold, length = n) )
return( foldi )
}
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.