Description Usage Arguments Details Value Author(s) Examples
View source: R/make_pixel_states.R
make_pixel_states takes a raster stack or brick to qualify pixel following scale either defined by the user or derived from the natural breaks of data following the following boxplot statistics and outliers.
1 2 3 |
x |
a raster object |
split_IQR |
logical. Should the inter-quartile range be split at the median to form different ranges? The default is TRUE |
custum_rclmat |
numeric vector indicating the limits based on which to reclassify x. |
sample |
Logical. Should the data be sampled? If TRUE, the result is based on a ramdon sampling of the original data. |
size |
Integer. Sample size (if sample is TRUE or if the data cannot be process in memory). |
ties |
character. Indicates how to treat ties. Either 'random', 'lowest', 'highest', 'first', or 'NA' |
op |
character string indicating the type of returned value: either raw states or their probabilities |
filename |
character. Output filename (optional) |
inparallel |
integer indicating the number of processes to run in parallel |
... |
Additional arguments as for writeRaster |
The ranges are bounded by the lower outlier (if any), extreme of the lower whisker, the lower ‘hinge’, the median, the upper ‘hinge’, the extreme of the upper whisker, and the upper outlier (if any).
A raster brick where each layers correspond to one of the states.
Issoufou Liman
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.