#' duplicated_all
#' @description gets all duplicated values
#' for example in duplicated_all(c("a","b","b","c")), the output will be c(F,T,T,F)
#' @export
#'
duplicated_all <- function(x){
tmp <- x[duplicated(x)]
x %in% tmp
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.