Package: SpatialRDD 0.1.0.9000

SpatialRDD: Conduct Multiple Types of Geographic Regression Discontinuity Designs

Spatial versions of Regression Discontinuity Designs (RDDs) are becoming increasingly popular as tools for causal inference. However, conducting state-of-the-art analyses often involves tedious and time-consuming steps. This package offers comprehensive functionalities for executing all required spatial and econometric tasks in a streamlined manner. Moreover, it equips researchers with tools for performing essential placebo and balancing checks comprehensively. The fact that researchers do not have to rely on 'APIs' of external 'GIS' software ensures replicability and raises the standard for spatial RDDs.

Authors:Alexander Lehner [aut, cre]

SpatialRDD_0.1.0.9000.tar.gz
SpatialRDD_0.1.0.9000.zip(r-4.5)SpatialRDD_0.1.0.9000.zip(r-4.4)SpatialRDD_0.1.0.9000.zip(r-4.3)
SpatialRDD_0.1.0.9000.tgz(r-4.5-any)SpatialRDD_0.1.0.9000.tgz(r-4.4-any)SpatialRDD_0.1.0.9000.tgz(r-4.3-any)
SpatialRDD_0.1.0.9000.tar.gz(r-4.5-noble)SpatialRDD_0.1.0.9000.tar.gz(r-4.4-noble)
SpatialRDD_0.1.0.9000.tgz(r-4.4-emscripten)SpatialRDD_0.1.0.9000.tgz(r-4.3-emscripten)
SpatialRDD.pdf |SpatialRDD.html
SpatialRDD/json (API)

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

Bug tracker:https://github.com/axlehner/spatialrdd/issues

Pkgdown site:https://axlehner.github.io

Datasets:
  • cut_off - Dataset with boundaries and polygons for the SpatialRDD vignette.
  • polygon_full - Dataset with boundaries and polygons for the SpatialRDD vignette.
  • polygon_treated - Dataset with boundaries and polygons for the SpatialRDD vignette.

On CRAN:

Conda:

5.57 score 37 stars 8 scripts 177 downloads 12 exports 62 dependencies

Last updated 1 years agofrom:7141c9ea2e. Checks:1 OK, 8 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 16 2025
R-4.5-winNOTEMar 16 2025
R-4.5-macNOTEMar 16 2025
R-4.5-linuxNOTEMar 16 2025
R-4.4-winNOTEMar 16 2025
R-4.4-macNOTEMar 16 2025
R-4.4-linuxNOTEMar 16 2025
R-4.3-winNOTEMar 16 2025
R-4.3-macNOTEMar 16 2025

Exports:%>%assign_treatedborder_segmentcreate_placeboscutoff2polygondiscretise_borderplotspatialrdpoints2lineprintspatialrdrandinfshift_borderspatialrd

Dependencies:backportsbroomclassclassIntclicolorspacecowplotcpp11DBIdeldirdplyre1071fansifarvergenericsggplot2gluegtableisobandKernSmoothlabelinglatticelifecyclelmtestlwgeommagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpolyclipproxypurrrR6RColorBrewerRcpprdrobustrlangs2sandwichscalessfspatstat.dataspatstat.geomspatstat.randomspatstat.univarspatstat.utilsstringistringrtibbletidyrtidyselectunitsutf8vctrsviridisLitewithrwkzoo

Shifting Borders, Creating Polygons from Lines

Rendered fromshifting_borders.Rmdusingknitr::knitron Mar 16 2025.

Last update: 2023-07-30
Started: 2022-03-07

SpatialRDD: get started

Rendered fromspatialrdd_vignette.Rmdusingknitr::knitron Mar 16 2025.

Last update: 2024-03-21
Started: 2019-05-21