#' Invert dictionary
#'
#' Swap the names/values from a named vector.
#'
#' @param dict Named vector.
#'
#' @keywords internal
invert_dict <- function(dict){
stats::setNames(names(dict), unname(dict))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.