quantile.im {spatstat} | 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 "im" .
|
... |
Optional arguments passed to quantile.default .
They determine the probabilities for which quantiles should be
computed. See quantile.default .
|
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.
Adrian Baddeley adrian@maths.uwa.edu.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner rolf@math.unb.ca http://www.math.unb.ca/~rolf
# artificial image data Z <- setcov(square(1)) # find the quartiles quantile(Z) # find the deciles quantile(Z, probs=(0:10)/10)