Description Usage Arguments Details Value Examples
Classify continuous raster values into binary map cells based upon given
break(s
).
1 2 3 4 | util_binarize(x, breaks)
## S3 method for class 'RasterLayer'
util_binarize(x, breaks)
|
x |
Raster* object |
breaks |
Vector with one or more break percentages |
Breaks are considered to be habitat percentages (p
). If more than
one percentage is given multiple layers are written in the same brick.
RasterLayer / RasterBrick
1 2 | breaks <- c(0.3, 0.5)
binary_maps <- util_binarize(gradient_landscape, breaks)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.