Skip to content

palsr

0.1.0

Projected Actor Locations for Spatial Interaction Modeling

0packages depend
27downloads / year
test coverage
12/12checks pass

Overview

About
Maintained by Bruce A. DesmaraisFirst published 2026-07-021 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
12OK
Code health
Yes
Tests · ratio 0.33
not tracked
Coverage
100%
Documentation · exports
Yes
Vignettes
Yes
README
2
Dependencies · direct
Check history
  • OK2026-07-03
    9 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

27
CRAN downloads in the past year
Rank #24,296 · ~0/day · ~2/mo
2730 days
2790 days
271 year
Source & community
GitHub ↗

Repository stars, issues, and contributor activity are not tracked yet.

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (2)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
indirect (not tracked)

Nothing depends on this yet.

Code

2,777Lines of code
11Exported functions

Line coverage

Expression

Tests / Examples

Functions

46 11 exported

Complexity

3.1 avg / 14 max

Call network

46 nodes / 48 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (2)
Release timeline

1 releases. Pick two to compare their code metrics; R releases are shown for context.

  • 0.1.0Latest
    2026-07-02 · current release

Package metadata

First published
2026-07-02
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet