Description Usage Arguments Value Examples
Determine if only values in a mask are 0/1
| 1 | check_mask(mask, allow.NA = FALSE, allow.array = TRUE)
 | 
| mask | Object of class  | 
| allow.NA | allow NAs in the mask | 
| allow.array | if  | 
Logical indicating if object is binary mask with only 0, 1, and NA
if applicable
| 1 2 3 | arr = array(rbinom(1000, size = 1, prob = 0.2), dim = c(10,10,10))
nim = oro.nifti::nifti(arr)
check_mask(nim)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.