Fitted spatial random forest model using plants_df with spatial predictors from Moran's Eigenvector Maps. Provided for testing and examples without requiring model fitting. Fitted with reduced complexity for faster computation and smaller object size.
Usage
data(plants_rf_spatial)Format
An object of class rf fitted with the following parameters:
data: plants_dfdependent.variable.name: plants_response ("richness_species_vascular")predictor.variable.names: plants_predictors (17 variables)distance.matrix: plants_distancexy: plants_xydistance.thresholds:c(100, 1000, 2000, 4000)method: "mem.effect.recursive"num.trees: 50min.node.size: 30n.cores: 14
Details
This spatial model includes spatial predictors (Moran's Eigenvector Maps) selected using the recursive method to minimize residual spatial autocorrelation. Uses reduced complexity (50 trees, min.node.size = 30) to keep object size small for package distribution. For actual analyses, use higher values (e.g., num.trees = 500, min.node.size = 5).