R/boxplot.nifti.R
boxplot.nifti.Rd
Computes the boxplot of values of an image with the option for a mask.
# S3 method for class 'nifti' boxplot(x, ..., mask) # S3 method for class 'anlz' boxplot(x, ..., mask)
Object of class nifti
nifti
Arguments passed to boxplot.default
boxplot.default
object to subset the image. If missing, then all values of the image are plotted.
Output of boxplot
boxplot
img = nifti(array(rnorm(10^3), dim = rep(10, 3))) mask = img > 0 boxplot(img) boxplot(img, mask = mask) boxplot(as.anlz(img))