powered by
Computes sample quantiles for an image, with the option of a mask.
# S3 method for nifti quantile(x, ..., mask)# S3 method for anlz quantile(x, ..., mask)
# S3 method for anlz quantile(x, ..., mask)
Output of quantile
quantile
Object of class nifti
nifti
Arguments passed to quantile
object to subset the image. If missing, then all values of the image are used
img = nifti(array(rnorm(10^3), dim = rep(10, 3))) mask = img > 0 quantile(img, mask = mask)
Run the code above in your browser using DataLab