Package: palsr 0.1.0
palsr: Projected Actor Locations for Spatial Interaction Modeling
Implements the Projected Actor Locations (PALS) method for spatial modeling of dyadic interactions between geographically mobile actors, as described in Kim, Liu and Desmarais (2023) <doi:10.1017/psrm.2022.6>. PALS applies exponential-smoothing weights to the spatiotemporal histories of a focal actor and its interaction partners ("alters") to project the location of future interactions. The package provides projection, maximum-similarity parameter estimation by minimizing great-circle (Haversine) prediction error, nonparametric bootstrap with multiple-imputation (Rubin's Rules) pooling, dyadic distance covariate construction, visualization, and a simulated example dataset of subnational conflict.
Authors:
palsr_0.1.0.tar.gz
palsr_0.1.0.tar.gz(r-4.7-arm64)palsr_0.1.0.tar.gz(r-4.7-x86_64)palsr_0.1.0.tar.gz(r-4.6-arm64)palsr_0.1.0.tar.gz(r-4.6-x86_64)
palsr_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
palsr/json (API)
| # Install 'palsr' in R: |
| install.packages('palsr', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/bdesmarais/palsr/issues
- nigeria_acled - Subnational conflict events in Nigeria
- nigeria_sim - Simulated subnational conflict events
Last updated from:5b39da2aa6. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 160 | ||
| linux-devel-x86_64 | OK | 168 | ||
| source / vignettes | OK | 235 | ||
| linux-release-arm64 | OK | 159 | ||
| linux-release-x86_64 | OK | 184 | ||
| wasm-release | OK | 165 |
Exports:bootstrap_palsestimate_palshaversinepal_distancepal_eventspals_paramspool_rubinpredict_event_locationsproject_palproject_palssimulate_conflict_events
Dependencies:Rcpp
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Nonparametric bootstrap for PALS estimates and projections | bootstrap_pals |
| Estimate PALS parameters | estimate_pals |
| Great-circle (Haversine) distance | haversine |
| Subnational conflict events in Nigeria | nigeria_acled |
| Simulated subnational conflict events (Nigeria-like) | nigeria_sim |
| Dyadic distance between Projected Actor Locations | pal_distance |
| Construct a validated dyadic-event table | pal_events |
| Create a PALS parameter set | pals_params |
| Pool estimates across imputations with Rubin's Rules | pool_rubin |
| Predict dyadic event locations | predict_event_locations |
| Project locations from a fitted PALS model | predict.pals_fit |
| Project the location of a single actor | project_pal |
| Project locations for multiple actors | project_pals |
| Simulate dyadic conflict events between moving actors | simulate_conflict_events |
