Package: spatialRF 1.1.5
spatialRF: Easy Spatial Modeling with Random Forest
Automatic generation and selection of spatial predictors for Random Forest models fitted to spatially structured data. Spatial predictors are constructed from a distance matrix among training samples using Moran's Eigenvector Maps (MEMs; Dray, Legendre, and Peres-Neto 2006 <doi:10.1016/j.ecolmodel.2006.02.015>) or the RFsp approach (Hengl et al. <doi:10.7717/peerj.5518>). These predictors are used alongside user-supplied explanatory variables in Random Forest models. The package provides functions for model fitting, multicollinearity reduction, interaction identification, hyperparameter tuning, evaluation via spatial cross-validation, and result visualization using partial dependence and interaction plots. Model fitting relies on the 'ranger' package (Wright and Ziegler 2017 <doi:10.18637/jss.v077.i01>).
Authors:
spatialRF_1.1.5.tar.gz
spatialRF_1.1.5.zip(r-4.7)spatialRF_1.1.5.zip(r-4.6)spatialRF_1.1.5.zip(r-4.5)
spatialRF_1.1.5.tgz(r-4.6-any)spatialRF_1.1.5.tgz(r-4.5-any)
spatialRF_1.1.5.tar.gz(r-4.7-any)spatialRF_1.1.5.tar.gz(r-4.6-any)
spatialRF_1.1.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
spatialRF/json (API)
| # Install 'spatialRF' in R: |
| install.packages('spatialRF', repos = c('https://blasbenito.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/blasbenito/spatialrf/issues
Pkgdown/docs site:https://blasbenito.github.io
- plants_df - Plant richness and predictors for American ecoregions
- plants_distance - Distance matrix between ecoregion edges
- plants_predictors - Predictor variable names for plant richness examples
- plants_response - Response variable name for plant richness examples
- plants_rf - Example fitted random forest model
- plants_rf_spatial - Example fitted spatial random forest model
- plants_xy - Coordinates for plant richness data
random-forestspatial-analysisspatial-regression
Last updated from:b7ab6291d6. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 349 | ||
| source / vignettes | OK | 298 | ||
| linux-release-x86_64 | OK | 355 | ||
| macos-release-arm64 | OK | 187 | ||
| macos-oldrel-arm64 | OK | 195 | ||
| windows-devel | OK | 269 | ||
| windows-release | OK | 263 | ||
| windows-oldrel | OK | 237 | ||
| wasm-release | OK | 226 |
Exports:.vif_to_df%>%aucauto_corauto_vifbeowulf_clustercase_weightsdefault_distance_thresholdsdouble_center_distance_matrixfilter_spatial_predictorsget_evaluationget_importanceget_importance_localget_moranget_performanceget_predictionsget_residualsget_response_curvesget_spatial_predictorsis_binarymake_spatial_foldmake_spatial_foldsmemmem_multithresholdmoranmoran_multithresholdobjects_sizeoptimization_functionpcapca_multithresholdplot_evaluationplot_importanceplot_moranplot_optimizationplot_residuals_diagnosticsplot_response_curvesplot_response_surfaceplot_training_dfplot_training_df_moranplot_tuningprepare_importance_spatialprint_evaluationprint_importanceprint_moranprint_performancerank_spatial_predictorsrescale_vectorresiduals_diagnosticsresiduals_testrfrf_comparerf_evaluaterf_importancerf_repeatrf_spatialrf_tuningroot_mean_squared_errorselect_spatial_predictors_recursiveselect_spatial_predictors_sequentialsetup_parallel_executionstandard_errorstatistical_modethe_feature_engineerthinningthinning_til_nweights_from_distance_matrix
Dependencies:assertthatbase64enccachemclicodetoolscommonmarkcpp11digestdoParalleldplyrfansifarverfastmapforeachgenericsggplot2gluegridExtragtablehtmltoolshuxtableisobanditeratorslabelinglatticelifecyclemagrittrMatrixmemoisepatchworkpillarpkgconfigpurrrR6rangerRColorBrewerRcppRcppEigenrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisviridisLitewithrxml2
