Nothing
sample.ds<-function(dat,dur){
nrow <- nrow(dat)
l <- length(table(dat$dur))
sample<-sample(1:nrow,nrow,replace=TRUE)
l.sample<-length(table(dat[sample,]$dur))
while((l.sample!=l)){
sample<-sample(1:nrow,nrow,replace=TRUE)
l.sample<-length(table(dat[sample,]$dur))
}
return(dat[sample,])
}
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.