Histogram of Values of a Spatial Function
Computes and displays a histogram of the values of a spatial function
of class "funxy"
.
## S3 method for class 'funxy' hist(x, ..., xname)
This function computes and (by default) displays a histogram
of the values of the function x
.
An object of class "funxy"
describes a function of spatial location. It is a function(x,y,..)
in the R language, with additional attributes.
The function hist.funxy
is a method for the generic
function hist
for the class "funxy"
.
An object of class "histogram"
as returned
by hist.default
. This object can be
plotted.
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner r.turner@auckland.ac.nz and Ege Rubak rubak@math.aau.dk.
spatialcdf
for the cumulative distribution function
of an image or function.
For other statistical graphics such as Q-Q plots,
use as.im(X)[]
to extract the pixel values of image X
,
and apply the usual statistical graphics commands.
f <- funxy(function(x,y) {x^2}, unit.square()) hist(f)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.