R/R_xlen_t.R

Defines functions R_xlen_t

R_xlen_t <- function(x) {
  if (max(x, na.rm = TRUE) <= 2147483647) {
    x <- as.integer(x)
  }
  x
}

Try the hutilscpp package in your browser

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

hutilscpp documentation built on Oct. 11, 2023, 9:06 a.m.