quantile.im | R Documentation |
Compute the sample quantiles of the pixel values of a given pixel image.
## S3 method for class 'im'
quantile(x, ...)
x |
A pixel image.
An object of class |
... |
Optional arguments passed to |
This simple function applies the generic quantile
operation
to the pixel values of the image x
.
This function is a convenient way to inspect an image and to obtain summary statistics. See the examples.
A vector of quantiles.
and \rolf
quantile
,
cut.im
,
im.object
# artificial image data
Z <- setcov(square(1))
# find the quartiles
quantile(Z)
# find the deciles
quantile(Z, probs=(0:10)/10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.