Skip to content

palsr

0.1.0

Projected Actor Locations for Spatial Interaction Modeling

0packages depend
310downloads / year
94.6%test coverage
13/13checks 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
13OK
Slowest check: 4.8 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.33
94.6%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-03
    9 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 466 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
77%
Return-value docs
100%
References docs
13%

Downloads

310
CRAN downloads in the past year
Rank #24,208 · ~1/day · ~26/mo
Daily download trend is not available in this view yet.
12230 days
31090 days
3101 year
Compare downloads with other packages →
Also on23 r2u6 autocran

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
1Releases
25Commits
1Contributors
25 commits · Last activity 2026-07-02

Releases over time

2026-06-23 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/bdesmarais/palsr on 2026-08-09.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

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

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • 0.1.0Latest
    2026-07-02 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-07-02
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Bundled data
34 KB / 2 files
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("palsr")
Desmarais, B. A., Kim, S., & Liu, H. (2026). palsr: Projected Actor Locations for Spatial Interaction Modeling (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.palsr

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for palsr version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-08-13. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-13, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy