ellipsis <- function(x) {
N <- 6
if (length(x) > N) {
x <- c(x[seq_len(N)], paste0("... (", length(x), " total)"))
}
paste(x, collapse = ", ")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.