R/to_mask.R

Defines functions to_mask

to_mask <- function(set_bits) {
  sum(bitwShiftL(1, set_bits))
}

Try the ibdsegments package in your browser

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

ibdsegments documentation built on June 8, 2025, 11:40 a.m.