rpart_disc {gdverse} | R Documentation |
discretization of variables based on recursive partitioning
Description
discretization of variables based on recursive partitioning
Usage
rpart_disc(formula, data, ...)
Arguments
formula |
A formula. |
data |
A data.frame or tibble of observation data. |
... |
(optional) Other arguments passed to |
Value
A vector that being discretized.
Author(s)
Wenbo Lv lyu.geosocial@gmail.com
References
Luo, P., Song, Y., Huang, X., Ma, H., Liu, J., Yao, Y., & Meng, L. (2022). Identifying determinants of spatio-temporal disparities in soil moisture of the Northern Hemisphere using a geographically optimal zones-based heterogeneity model. ISPRS Journal of Photogrammetry and Remote Sensing: Official Publication of the International Society for Photogrammetry and Remote Sensing (ISPRS), 185, 111–128. https://doi.org/10.1016/j.isprsjprs.2022.01.009
Examples
data('ndvi')
rpart_disc(NDVIchange ~ ., data = ndvi)
[Package gdverse version 1.0-1 Index]