#' Return an object name as a string
#'
#' @description Return an object name as a string.
#'
#' @param x An R object
#'
#' @return A character single value with the name of the R object.
#'
#' @export
#'
#' @examples
#'
#' x <- rnorm(100)
#'
#' obj_to_string(x)
#'
obj_to_string <- function(x){
deparse(substitute(x))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.