ggguides - Simplified Legend and Guide Alignment for 'ggplot2'
Provides one-liner functions for common legend and guide operations in 'ggplot2'. Simplifies legend positioning, styling, wrapping, and collection across multi-panel plots created with 'patchwork' or 'cowplot'.
Last updated
data-visualizationdatavizggplot2ggplot2-extensionlegendpatchwork
6.22 score 5 stars 12 scripts 414 downloadscorrselect - Correlation-Based and Model-Based Predictor Pruning
Provides functions for predictor pruning using association-based and model-based approaches. Includes corrPrune() for fast correlation-based pruning, modelPrune() for VIF-based regression pruning, and exact graph-theoretic algorithms (Eppstein–Löffler–Strash, Bron–Kerbosch) for exhaustive subset enumeration. Supports linear models, GLMs, and mixed models ('lme4', 'glmmTMB').
Last updated
correlationenumerationfeature-selection-glmgraph-algorithmsmachine-learningmixed-modelsmulticollinearityregressionstatisticsvariable-selectionvifcpp
6.11 score 2 stars 15 scripts 589 downloadshexify - Equal-Area Hex Grids on the 'Snyder' 'ISEA' 'Icosahedron'
Provides functions to build and use hexagonal discrete global grids using the 'Snyder' 'ISEA' projection ('Snyder' 1992 <doi:10.3138/27H7-8K88-4882-1752>) and the 'H3' hierarchical hexagonal system ('Uber' Technologies). Implements the 'ISEA' discrete global grid system ('Sahr', 'White' and 'Kimerling' 2003 <doi:10.1559/152304003100011090>). Includes a fast 'C++' core for 'ISEA' projection and aperture quantization, an included 'H3' v4.4.1 C library for native 'H3' grid operations, and 'sf'/'terra'-compatible R wrappers for grid generation and coordinate assignment. Output is compatible with 'dggridR' for interoperability.
Last updated
dggsdiscrete-global-gridequal-areageospatialgishexagonal-gridicosahedral-gridicosahedroniseaspatialspatial-analysiscpp
5.86 score 29 scripts 191 downloadsjoinspy - Diagnostic Tools for Data Frame Joins
Provides diagnostic tools for understanding and debugging data frame joins. Analyzes key columns before joining to detect duplicates, mismatches, encoding issues, and other common problems. Explains unexpected row count changes and provides safe join wrappers with cardinality enforcement. Concepts and diagnostics build on tidy data principles as described in 'Wickham' (2014) <doi:10.18637/jss.v059.i10>.
Last updated
data-wranglingdiagnosticsdyplrjoins
5.65 score 3 stars 9 scripts 145 downloadskeyed - Explicit Key Assumptions for Flat-File Data
Helps make implicit data assumptions explicit by attaching keys to flat-file data that error when those assumptions are violated. Designed for CSV-first workflows without database infrastructure or version control. Provides key definition, assumption checks, join diagnostics, and automatic drift detection via watched data frames that snapshot before each transformation and report cell-level changes.
Last updated
csvdata-integritydata-qualitydata-validationdata-wranglingflat-filetidyverse
5.08 score 2 stars 7 scripts 146 downloadsrestrictR - Composable Runtime Contracts for R
Build reusable validators from small building blocks using the base pipe operator. Define runtime contracts once with 'restrict()' and enforce them anywhere in code. Validators compose naturally, support dependent rules via formulas, and produce clear, path-aware error messages. No DSL, no operator overloading, just idiomatic R.
Last updated
contractsruntime-checksruntime-contractsvalidation
5.00 score 5 stars 7 scripts 474 downloadstulpaMesh - Constrained Delaunay Triangulation Meshes for Spatial 'SPDE' Models
Generate constrained Delaunay triangulation meshes for use with stochastic partial differential equation (SPDE) spatial models (Lindgren, Rue and Lindstroem 2011 <doi:10.1111/j.1467-9868.2011.00777.x>). Provides automatic mesh generation from point coordinates with boundary constraints, Ruppert refinement for mesh quality, finite element method (FEM) matrix assembly (mass, stiffness, projection), barrier models, spherical meshes via icosahedral subdivision, and metric graph meshes for network geometries. Built on the 'CDT' header-only C++ library (Amirkhanov 2024 <https://github.com/artem-ogre/CDT>). Designed as the mesh backend for the 'tulpa' Bayesian hierarchical modelling engine but usable standalone for any spatial triangulation task.
Last updated
delaunayecologyfemgeostatisticsmeshspatialspdecpp
4.88 score 1 stars 9 scripts 146 downloadsareaOfEffect - Classify Points by Distance to Polygon Boundaries
Classifies spatial points relative to polygon boundaries, labeling each point as "core" (inside), "halo" (in a buffer zone), or pruning it (outside both). Handles projection, buffering, and point-in-polygon operations automatically. The default buffer produces equal core and halo areas, providing a scale-independent definition of "near the boundary." An optional mask clips the buffer to relevant areas such as coastlines.
Last updated
4.86 score 1 stars 12 scripts 162 downloadstexanshootR - Reproducible Audit Trails for Indefensible Research
Provides a structured, terminal-first interface for exploratory model search, including transformation grids, predictor-subset enumeration, interaction screening, principled- sounding sample restrictions, outcome engineering, and model-form escalation (polynomial / spline wraps, robust M-estimation, generalized linear model (GLM) family swaps, random-intercept lifts). Persistent run history, achievement tracking, and reportable output generators (manuscript, presentation, funding letter, graphical abstract, reviewer response) are included.
Last updated
exploratory-analysislinear-modelsroguelikecpp
4.40 score 81 downloads