quantile.im

0th

Percentile

Sample Quantiles of Pixel Image

Compute the sample quantiles of the pixel values of a given pixel image.

Keywords
methods, spatial, univar
Usage
## S3 method for class 'im':
quantile(x, \dots)
Arguments
x
A pixel image. An object of class "im".
...
Optional arguments passed to quantile.default. They determine the probabilities for which quantiles should be computed. See quantile.default
Details

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.

Value

  • A vector of quantiles.

See Also

quantile, cut.im, im.object

Aliases
  • quantile.im
Examples
# artificial image data
Z <- setcov(square(1))

# find the quartiles
quantile(Z)

# find the deciles
quantile(Z, probs=(0:10)/10)
Documentation reproduced from package spatstat, version 1.9-2, License: GPL version 2 or newer

Community examples

Looks like there are no examples yet.