#' Insert an interrobang at the end of factor
#'
#' @param d factor
#'
#' @return factor
#' @export
#' @examples
#' foo_interrobang(iris$Species)
foo_interrobang <- function(d) {
stopifnot(is.factor(d))
d <- as.character(d)
e <- c(d, "?!")
print(e, quote = FALSE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.