Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

quantile.im

Sample Quantiles of Pixel Image


Description

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

Usage

## S3 method for class 'im'
quantile(x, ...)

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.

Author(s)

and Rolf Turner r.turner@auckland.ac.nz

See Also

Examples

# artificial image data
Z <- setcov(square(1))

# find the quartiles
quantile(Z)

# find the deciles
quantile(Z, probs=(0:10)/10)

spatstat.geom

Geometrical Functionality of the 'spatstat' Family

v2.1-0
GPL (>= 2)
Authors
Adrian Baddeley [aut, cre], Rolf Turner [aut], Ege Rubak [aut], Tilman Davies [ctb], Ute Hahn [ctb], Abdollah Jalilian [ctb], Sebastian Meyer [ctb], Suman Rakshit [ctb], Dominic Schuhmacher [ctb], Rasmus Waagepetersen [ctb]
Initial release
2021-04-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.