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)areaOfEffect_0.2.5.zip(r-4.6)areaOfEffect_0.2.5.zip(r-4.5)
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.08 score 1 stars 12 scripts 228 downloads 8 exports 12 dependencies

Last updated from:578992225a. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK160
source / vignettesOK214
linux-release-x86_64OK199
macos-release-arm64OK93
macos-oldrel-arm64OK105
windows-develOK106
windows-releaseOK149
windows-oldrelOK100
wasm-releaseOK154

Exports:aoeaoe_areaaoe_borderaoe_expandaoe_geometryaoe_sampleaoe_summaryget_country

Dependencies:classclassIntDBIe1071KernSmoothMASSproxyRcpps2sfunitswk

Quick Start
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-02-07
Started: 2026-01-19

Theory
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-01-31
Started: 2026-01-19