Description Details Value Methods Examples
These functions take a single RasterLayer argument x
and change its values to integers.
ceiling
returns a RasterLayer with the smallest integers not less than the corresponding values of x.
floor
returns a RasterLayer with the largest integers not greater than the corresponding values of x.
trunc
returns a RasterLayer with the integers formed by truncating the values in x toward 0.
round
returns a RasterLayer with values rounded to the specified number of digits (decimal places; default 0).
see ?base::round
a RasterLayer object
ceiling(x) floor(x) trunc(x, ...) round(x, digits = 0)
a RasterLayer object
integer indicating the precision to be used
additional arguments
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.