quantile.antsImage: Sample Quantiles

Description Usage Arguments Value Examples

View source: R/hist.antsImage.R

Description

Computes sample quantiles for an image, with the option of a mask.

Usage

1
2
## S3 method for class 'antsImage'
quantile(x, ..., mask)

Arguments

x

Object of class antsImage

...

Arguments passed to quantile

mask

object to subset the image. If missing, then all values of the image are used

Value

Output of quantile

Examples

1
2
3
img = makeImage(c(10,10),rnorm(100))
mask = img > 0
quantile(img, mask = mask)

muschellij2/atropos documentation built on Oct. 11, 2018, 12:24 a.m.