Description Usage Arguments Details Value Author(s) References Examples
This function explores the best number of classes to categorize (discretize) a continuous variable.
1 | nclass(x,th)
|
x |
a RasterLayer or a numeric vector |
th |
A threshold (default = 0.005) used to find the best number of classes |
The function uses an approach introduced in Naimi et al. (under review), to find the best number of classes (categories) when a continuous variable is discretizing. The threhold is corresponding to the acceptable level of information loose through discretizing procedure. For the details, see the reference.
An object with the same class as the input x
Babak Naimi naimi.b@gmail.com
Naimi. B. et al. (under review) ELSA: An Entropy-based Local indicators of Spatial Association, Geographical Analysis;
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.