#' A letter counting function
#'
#' This function counts letters
#' @param which string would you like to count the letters of
#' @keywords string count
#' @export
#' @examples
#' get_names()
get_names <- function(x) {
# outputs column names of x in a way that is easy to paste into code for selections
cat(paste( c( "c( \n", paste0("\"", names(x), "\", \n") , ")") , collapse = ""))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.