#' Journal name abbreviation
#' @param x journal name
#' @examples
#' abbr_journal_name("Proceedings of the National Academy of Sciences")
#' @export
abbr_journal_name <- function(x) {
gsub("Proceedings of the National Academy of Sciences", "PNAS",
gsub("Journal", "J.",
gsub("\\{", "",
gsub("}", "",
gsub("\\{\\\\", "", x)))))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.