Classify continuous raster values into binary map cells based upon given
break(s
).
util_binarize(x, breaks) # S3 method for RasterLayer util_binarize(x, breaks)
x | Raster* object |
---|---|
breaks | Vector with one or more break percentages |
RasterLayer / RasterBrick
Breaks are considered to be habitat percentages (p
). If more than
one percentage is given multiple layers are written in the same brick.