# Bounded Outcome Risk Guard for Model Evaluation

## Documentation for package ‘BORG’ version 0.3.1

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

A B C P S

## -- A --

as.data.frame.BorgDiagnosis | Coerce BorgDiagnosis to Data Frame
as.data.frame.BorgRisk | Coerce BorgRisk to Data Frame
audit_importance | Audit Feature Importance Calculations
audit_predictions | Audit Predictions for Data Leakage
autoplot.BorgDiagnosis | Autoplot Method for BorgDiagnosis Objects
autoplot.BorgRisk | Autoplot Method for BorgRisk Objects
autoplot.borg_comparison | Autoplot Method for borg_comparison Objects
autoplot.borg_cv | Autoplot Method for borg_cv Objects
autoplot.borg_fold_perf | Autoplot Method for borg_fold_perf Objects
autoplot.borg_result | Autoplot Method for borg_result Objects

## -- B --

borg | BORG: Guard Your Model Evaluation
borg-wrappers | BORG-Guarded Cross-Validation Functions
BorgDiagnosis | BorgDiagnosis S4 Class
BorgDiagnosis-class | BorgDiagnosis S4 Class
BorgRisk | BorgRisk S4 Class
BorgRisk-class | BorgRisk S4 Class
borg_adversarial | Adversarial Validation
borg_aoa | Area of Applicability
borg_assimilate | Assimilate Leaky Evaluation Pipelines
borg_auto_check | Enable/Disable BORG Auto-Check Mode
borg_best_subset | Best Subset Variable Selection with Blocked CV
borg_block_size | Optimize Spatial Block Size
borg_bootstrap | Block Bootstrap Confidence Intervals for CV Metrics
borg_cache | Cache and Retrieve BORG Diagnoses
borg_cache_clear | Cache and Retrieve BORG Diagnoses
borg_cache_get | Cache and Retrieve BORG Diagnoses
borg_cache_info | Cache and Retrieve BORG Diagnoses
borg_cache_set | Cache and Retrieve BORG Diagnoses
borg_calibration | Model Calibration Diagnostics
borg_certificate | Create Validation Certificate
borg_check | Quick Leakage Check (Pipe-Friendly)
borg_check_coverage | Check Geographic Representativeness of CV Folds
borg_check_nested_cv | Check Nested CV for Leakage
borg_check_residuals | Check Residual Spatial Autocorrelation
borg_compare_cv | Compare Random vs Blocked Cross-Validation
borg_compare_models | Compare Multiple Models with Spatial CV
borg_conformal | Conformal Prediction with Spatial Dependence
borg_cv | Generate Valid Cross-Validation Scheme
borg_debias | Spatial+ Debiasing for Spatial Confounding
borg_di | Dissimilarity Index
borg_diagnose | Diagnose Data Dependency Structure
borg_disc_cv | Leave-Disc-Out Cross-Validation
borg_drift | Detect Distribution Shift Between Training and Deployment Data
borg_ensemble | Ensemble Predictions from CV Fold Models
borg_error_profile | Calibrate Dissimilarity Index to Prediction Error
borg_explain_risk | Explain Risks in Plain Language with Actionable Recommendations
borg_export | Export Validation Certificate
borg_extract | Extract Raster Values at Point Locations for BORG
borg_extrapolation | Detect Model Extrapolation
borg_fairness | Detect Performance Disparities Across Subgroups Under Blocked CV
borg_fold_performance | Evaluate Per-Fold Model Performance
borg_fold_similarity | Per-Fold Environmental Similarity (MESS)
borg_forward_selection | Forward Feature Selection with Spatial/Blocked CV
borg_geodist | Distance Distribution Diagnostics
borg_global_validation | Global (Pooled) Cross-Validation Metrics
borg_group_vfold_cv | BORG-Guarded group_vfold_cv
borg_importance | Block-Permutation Variable Importance
borg_initial_split | BORG-Guarded initial_split
borg_inspect | Inspect R Objects for Evaluation Risks
borg_leaflet | Interactive Leaflet Map of Spatial CV Folds
borg_literature_check | Scan Methods Text for Common Leakage Patterns
borg_local_moran | Local Moran's I for Residuals
borg_metrics | Available Classification Metrics
borg_multiscale | Multi-Scale Performance Assessment
borg_null_test | Null Model Significance Test
borg_options | Get Current BORG Options
borg_pipeline | Validate an Entire Modeling Pipeline
borg_power | Estimate Statistical Power After Blocking
borg_prediction_map | Spatial Prediction Uncertainty Map
borg_predict_raster | Predict onto a SpatRaster with AOA Masking
borg_register_hooks | Register BORG Hooks
borg_repeated_cv | Repeated Blocked Cross-Validation
borg_report | Generate BORG HTML Diagnostic Report
borg_rset | Convert BORG Folds to an rsample rset Object
borg_sample_design | Suggest Sampling Locations to Improve AOA
borg_shap | Spatial SHAP Values
borg_simulate | Generate Synthetic Data with Known Leakage
borg_spatial_cv | Spatial Block Cross-Validation (rsample-compatible)
borg_spatial_loo | Buffered Leave-One-Out Cross-Validation
borg_stability | Analyze CV Fold Stability Across Repeats
borg_stability_map | Prediction Stability Map
borg_temporal_cv | Temporal Block Cross-Validation (rsample-compatible)
borg_thin | Spatially Thin Occurrence Data
borg_to_biomod2 | Convert BORG Folds to biomod2 Format
borg_to_enmeval | Convert BORG Folds to ENMeval Partition Format
borg_to_mlr3 | mlr3 Resampling for BORG Cross-Validation
borg_trainControl | BORG-Guarded trainControl
borg_transferability | Assess Geographic Transferability
borg_unregister_hooks | Unregister BORG Hooks
borg_validate | Validate Complete Evaluation Workflow
borg_vfold_cv | BORG-Guarded vfold_cv
borg_willmott | Willmott's Index of Agreement
borg_workflow | Create a BORG Validation Workflow

## -- C --

cv_leakage_report | Generate CV Leakage Report

## -- P --

plot.BorgRisk | Plot BORG Objects
plot.borg_comparison | Plot CV Comparison Results
plot.borg_result | Plot BORG Result Objects
print.borg_cv_report | Print CV Leakage Report

## -- S --

show-method | BorgDiagnosis S4 Class
show-method | BorgRisk S4 Class
summary.BorgDiagnosis | Summarize BORG Diagnosis
summary.BorgRisk | Summarize BORG Risk Assessment
summary.borg_cv | Summarize BORG Cross-Validation
summary.borg_pipeline | Summarize BORG Pipeline Validation
summary.borg_power | Summarize BORG Power Analysis
summary.borg_result | Summarize BORG Result