Transform the values of a pixel image from numeric values into a factor.
A pixel image.
An object of class
Arguments passed to
This simple function applies the generic
to the pixel values of the image
x. The range of pixel values
is divided into several intervals, and each
interval is associated with a level of a factor.
The result is another pixel image,
with the same window and pixel grid as
x, but with the numeric value of each pixel discretised
by replacing it by the factor level.
This function is a convenient way to inspect an image and to obtain summary statistics. See the examples.
To select a subset of an image, use the subset operator
A pixel image (object of class
pixel values that are a factor.
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.