Geographically Weighted Random Forests

Fits geographically weighted random forest models using spatially localized training neighborhoods and 'ranger' as the random forest engine. Supports fixed-distance and adaptive neighborhoods defined by observation rows or unique spatial locations, including repeated observations at the same location. Provides local predictions and permutation-based variable importance for examining spatial variation in predictive relationships. The geographical random forest approach is described by Georganos et al. (2021) , and the 'ranger' engine by Wright and Ziegler (2017) .


gwrf

gwrf is an R package for fitting geographically weighted random forest models with local spatial neighborhoods, kernel weighting, local predictions, residuals, and local variable importance.

Basic development use

devtools::load_all("/path/to/gwrf")

## Core function

fit_gwrf()

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("gwrf")

0.1.1 by Erich Seamon, a month ago


https://github.com/hac-lab/gwrf


Report a bug at https://github.com/hac-lab/gwrf/issues


Browse source code at https://github.com/cran/gwrf


Authors: Erich Seamon [aut, cre, cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports ranger, tibble, dplyr, pbapply, stats

Suggests testthat


See at CRAN