create_combos <- function(strings, comb) {
library(combinat)
f <- function(x) {
paste(x, collapse = ", ")
}
c <- combn(strings, comb, simplify = T)
c <- as.data.frame(c, stringsAsFactors=F)
l <- lapply(c, f)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.