Convert a spatial object to a pixel image by measuring the amount of stuff in each pixel.
Spatial object to be converted.
A point pattern (object of class
Arguments passed to methods.
pixellate converts a geometrical object
a pixel image, by measuring the amount of
x that is
inside each pixel.
x is a point pattern,
pixellate(x) counts the
number of points of
x falling in each pixel.
x is a window,
pixellate(x) measures the area
of intersection of each pixel with the window.
pixellate is generic, with methods for
point patterns (
line segment patterns (
See the separate documentation for these methods.
The related function
x into a pixel image,
but typically measures only the presence or absence of
x inside each pixel.
A pixel image (object of class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.