R/cdm_sort_unique.R

Defines functions cdm_sort_unique

## File Name: cdm_sort_unique.R
## File Version: 0.01

cdm_sort_unique <- function(x)
{
    if( ! ( is.numeric(x) ) ){
        gr2 <- unique( sort(paste(x) ))
    } else {
        gr2 <- unique( sort(x) )
    }
    return(gr2)
}

Try the CDM package in your browser

Any scripts or data that you put into this service are public.

CDM documentation built on Aug. 25, 2022, 5:08 p.m.