Density of Values in an Image
Computes the density of values of an image with the option for a mask.
## S3 method for class 'nifti' density(x, ..., mask) ## S3 method for class 'anlz' density(x, ..., mask)
x |
Object of class |
... |
Arguments passed to |
mask |
object to subset the image. If missing, then all values of the image are plotted. |
Output of density
img = nifti(array(rnorm(10^3), dim = rep(10, 3))) mask = img > 0 density(img, mask = mask) density(img) density(as.anlz(img), mask = mask) density(as.anlz(img))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.