Package: areaOfEffect 0.2.5

areaOfEffect: 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.

Authors:Gilles Colling [aut, cre, cph]

areaOfEffect_0.2.5.tar.gz
areaOfEffect_0.2.5.zip(r-4.7-any)areaOfEffect_0.2.5.zip(r-4.6-any)areaOfEffect_0.2.5.zip(r-4.5-any)
areaOfEffect_0.2.5.tgz(r-4.6-any)areaOfEffect_0.2.5.tgz(r-4.5-any)
areaOfEffect_0.2.5.tar.gz(r-4.7-any)areaOfEffect_0.2.5.tar.gz(r-4.6-any)
areaOfEffect_0.2.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
areaOfEffect/json (API)

# Install 'areaOfEffect' in R:
install.packages('areaOfEffect', repos = c('https://gcol33.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/gcol33/areaofeffect/issues

Pkgdown/docs site:https://gillescolling.com

Datasets:
  • countries - World Country Polygons with Pre-calculated AoE Bounds
  • country_halos - Pre-computed Equal-Area Country Halos
  • land - Global Land Mask

On CRAN:

Conda:

5.12 score 1 stars 12 scripts 348 downloads 8 exports 11 dependencies

Last updated from:89a0b2d49e. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK129
source / vignettesOK221
linux-releaseOK121
macos-releaseOK116
macos-oldrelOK111
windows-develOK98
windows-releaseOK102
windows-oldrelOK94
wasm-releaseOK119

Exports:aoeaoe_areaaoe_borderaoe_expandaoe_geometryaoe_sampleaoe_summaryget_country

Dependencies:classclassIntDBIe1071KernSmoothproxyRcpps2sfunitswk

Quick Start
Installation | Overview | Getting Started | From a Dataframe | From sf Objects | Austria Example | Basic Usage with Custom Polygons | Multiple Supports | Using a Mask (Coastlines) | Real-World Example: Portugal | Scale Parameter | Area Parameter (Target Halo Area) | Adaptive Expansion with aoe_expand() | Balanced Sampling with aoe_sample() | Border Classification with aoe_border() | Area-Based Border Zones | Sampling from Border Results | Diagnostics | Summary

Last update: 2026-10-10
Started: 2026-01-19

Theory
Installation | What AoE is Not | The Problem: Border Truncation | The Area of Effect | Core and Halo Classification | The Scale Parameter | Why Equal Area is the Default | The Symmetry Argument | The Information-Theoretic View | The Geometric Inevitability | When to Override | Method: Buffer vs Stamp | Buffer Method (Default) | Stamp Method (Alternative) | Hard vs Soft Boundaries | Multiple Supports | Summary

Last update: 2026-10-10
Started: 2026-01-19