Package: blockCV 4.0-0

blockCV: Spatial and Environmental Blocking for Cross-Validation
Creates spatially or environmentally separated, or group-preserving, training and testing folds for k-fold, leave-group-out, and leave-one-out cross-validation. Provides spatial blocking, clustering, buffering, and nearest-neighbour distance-matching methods, together with tools to visualise folds, summarise fold sizes and class balance, and assess train–test separation and environmental novelty. Also estimates spatial autocorrelation ranges in point samples and continuous raster covariates to provide an initial distance scale for designing spatial folds. Methods are described in Valavi, R. et al. (2019) <doi:10.1111/2041-210X.13107>.
Authors:
blockCV_4.0-0.tar.gz
blockCV_4.0-0.zip(r-4.7)blockCV_4.0-0.zip(r-4.6)blockCV_4.0-0.zip(r-4.5)
blockCV_4.0-0.tgz(r-4.6-x86_64)blockCV_4.0-0.tgz(r-4.6-arm64)blockCV_4.0-0.tgz(r-4.5-x86_64)blockCV_4.0-0.tgz(r-4.5-arm64)
blockCV_4.0-0.tar.gz(r-4.7-arm64)blockCV_4.0-0.tar.gz(r-4.7-x86_64)blockCV_4.0-0.tar.gz(r-4.6-arm64)blockCV_4.0-0.tar.gz(r-4.6-x86_64)
blockCV_4.0-0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
blockCV/json (API)
| # Install 'blockCV' in R: |
| install.packages('blockCV', repos = c('https://rvalavi.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rvalavi/blockcv/issues
cross-validationspatialspatial-cross-validationspatial-modellingspecies-distribution-modellingcpp
Last updated from:17d91e3c27. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 206 | ||
| linux-devel-x86_64 | OK | 219 | ||
| source / vignettes | OK | 284 | ||
| linux-release-arm64 | OK | 203 | ||
| linux-release-x86_64 | OK | 213 | ||
| macos-release-arm64 | OK | 137 | ||
| macos-release-x86_64 | OK | 289 | ||
| macos-oldrel-arm64 | OK | 222 | ||
| macos-oldrel-x86_64 | OK | 240 | ||
| windows-devel | OK | 177 | ||
| windows-release | OK | 175 | ||
| windows-oldrel | OK | 224 | ||
| wasm-release | OK | 161 |
Exports:cv_block_sizecv_buffercv_clustercv_distancecv_groupcv_knndmcv_nndmcv_plotcv_similaritycv_spatialcv_spatial_autocorcv_summary
Dependencies:abindautomapclassclassIntclicowplotcpp11DBIe1071farverFNNggplot2gluegstatgtableintervalsisobandKernSmoothlabelinglatticelifecycleMASSplyrproxyR6RColorBrewerRcppreshaperlangs2S7scalessfsftimespspacetimestarsterraunitsvctrsviridisLitewithrwkxtszoo
Last update: 2026-07-10
Started: 2023-01-29
Last update: 2026-07-09
Started: 2023-01-29
Last update: 2026-07-09
Started: 2026-07-09
Last update: 2026-07-09
Started: 2026-07-09
