# internal functions to create random values
# discrete
createD <- function(x, q){
qsub <- q[x,]
qsubUQ <- unique(qsub)
values <- sample(as.numeric(qsubUQ), length(x), replace=TRUE)
values
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.