Nothing
xval.buffer <-
function(n.cases, n.xval=5, buffer.length=0)
{
case.indices <- seq(n.cases)
xval <- suppressWarnings(matrix(c(case.indices,
rep(NA, length(case.indices))), ncol=n.xval*2))
xval <- xval[,1:(min(which(is.na(xval[1,])))-1),drop=FALSE]
cases <- vector("list", ncol(xval))
for(i in seq(ncol(xval))) {
x.cur <- xval[!is.na(xval[,i]),i]
exclude <- intersect(case.indices, (min(x.cur)-buffer.length):
(max(x.cur)+buffer.length))
cases[[i]] <- list(train=setdiff(case.indices, exclude), valid=x.cur)
}
cases
}
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.