check_mask_fail | R Documentation |
Determine if only values in a mask are 0/1. Will error otherwise.
check_mask_fail(...)
... |
arguments to pass to |
Either will error if conditions not met or an invisible NULL
arr = array(rbinom(1000, size = 1, prob = 0.2), dim = c(10,10,10))
nim = oro.nifti::nifti(arr)
check_mask_fail(nim)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.