increment_mask: Cycle through all possible mask combinations by incrementing...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Cycle through all possible mask combinations by incrementing the mask

Usage

1
increment_mask(mask, N_bits, skip_singletons, skip_zeros)

Arguments

mask

Input mask

skip_singletons

If set, do not return singletons

skip_zeros

If set, do not return masks where any submask is 0

N

threshold for setting one part of the mask to zero and moving to next

Value

The incremented mask, or NA if all combinations have been reached


mkuhn/maskedCorr documentation built on May 23, 2019, 2:03 a.m.