#' Calculate the term (vocabulary) frequencies
#' @param x path to (for now, xml) document
#' @return A table of frequencies
term_frequencies <- function(x){
x <- table(x) %>% sort(., decreasing = T)
return(x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.