| hist.im {spatstat} | R Documentation |
Computes and displays a histogram of the pixel values in a pixel image.
The hist method for class "im".
## S3 method for class 'im': hist(x, ...)
x |
A pixel image (object of class "im"). |
... |
Arguments passed to hist.default. |
This function computes and (by default) displays a histogram
of the pixel values in the image x.
An object of class "im"
describes a pixel image. See im.object)
for details of this class.
The function hist.im is a method for the generic
function hist for the class "im".
Any arguments in ... are passed to hist.default.
For example, such arguments control the axes, and may be used to
suppress the plotting.
A single number.
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
hist,
hist.default,
im.object,
summary.im.
X <- as.im(function(x,y) {x^2}, unit.square())
hist(X)