R/utils.R

Defines functions int32_to_uint32

int32_to_uint32 <- function(int32) {

  ifelse(int32>=0, int32, 2^31-1 + int32)

}

Try the lightr package in your browser

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

lightr documentation built on May 14, 2022, 5:05 p.m.