#' @title Detect all duplicates in a column or vector
#'
#' @param x a data frame, column or vector
#'
#' @return data.frame
#' @export
#'
#' @examples
detect_duplicates <- function(x){
duplicated <- duplicated(x) | duplicated(x, fromLast = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.