View source: R/quantile.nifti.R
quantile.nifti | R Documentation |
Computes sample quantiles for an image, with the option of a mask.
## S3 method for class 'nifti'
quantile(x, ..., mask)
## S3 method for class 'anlz'
quantile(x, ..., mask)
x |
Object of class |
... |
Arguments passed to |
mask |
object to subset the image. If missing, then all values of the image are used |
Output of quantile
img = nifti(array(rnorm(10^3), dim = rep(10, 3)))
mask = img > 0
quantile(img, mask = mask)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.