Package: palsr
Type: Package
Title: Projected Actor Locations for Spatial Interaction Modeling
Version: 0.1.0
Authors@R: c(
    person("Bruce A.", "Desmarais", email = "bruce.desmarais@gmail.com",
           role = c("aut", "cre")),
    person("Sangyeon", "Kim", role = "aut"),
    person("Howard", "Liu", role = "aut"))
Description: 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.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Depends: R (>= 4.1.0)
Imports: Rcpp, stats
LinkingTo: Rcpp
Suggests: testthat (>= 3.0.0), knitr, rmarkdown, mice, ggplot2
URL: https://github.com/bdesmarais/palsr
BugReports: https://github.com/bdesmarais/palsr/issues
VignetteBuilder: knitr
Config/testthat/edition: 3
Config/roxygen2/version: 8.0.0
NeedsCompilation: yes
Packaged: 2026-06-25 11:47:24 UTC; bbd5087
Author: Bruce A. Desmarais [aut, cre],
  Sangyeon Kim [aut],
  Howard Liu [aut]
Maintainer: Bruce A. Desmarais <bruce.desmarais@gmail.com>
Repository: CRAN
Date/Publication: 2026-07-01 10:00:13 UTC
Built: R 4.5.2; x86_64-apple-darwin20; 2026-07-01 13:28:15 UTC; unix
Archs: palsr.so.dSYM
