Nothing
#' @title Identify all duplicates values in a vector.
#' @description By default the base R function duplicated only identifies the duplicated values after the first in a vector as TRUE. This function identifies all of the duplicates as true.
#' @param x The input vector.
#' @return A logical vector.
#' @export
allDups <- function(x){
dups = duplicated(x) | duplicated(x, fromLast = TRUE)
return(dups)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.