R/sort_unique.R

Defines functions sort_unique sort_unique.length

Documented in sort_unique sort_unique.length

#[export]
sort_unique.length <- function(x) {
  .Call(Rfast_len_sort_unique_int,x)
}

#[export]
sort_unique <- function(x) {
  if(is.double(x)){
  	.Call(Rfast_sort_unique_double,x)
  }else{
  	.Call(Rfast_sort_unique_int,x)
  }
}

Try the Rfast package in your browser

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

Rfast documentation built on Nov. 9, 2023, 5:06 p.m.