#' Name a vector with the its values
#'
#' @param x vector
#'
#' @return named vector
#' @export
#'
#' @examples
#' nameself(letters)
nameself <- function(x) {
`names<-`(x, x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.