Nothing
simEcm <-
function(n, s){
dd <- sample(n, s, replace=TRUE)
data <- data.frame()
ind <- unique(dd)
for (i in 1:length(ind)){
x <- length(dd[dd == ind[i]])
y <- c(ind[i], x)
data <- rbind(data, y)
}
data <- indToClass(data)
return(data)
}
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.