Package: FPScausal
Type: Package
Title: Functional Propensity Score for Causal Inference
Version: 0.1.0
Authors@R: c(
    person("Nicole", "Fontana", email = "nicole.fontana@polimi.it",
           role = c("aut", "cre")),
    person("Simone", "Ciardulli", email = "simone.ciardulli@mail.polimi.it",
           role = "aut"))
Description: Implements functional propensity score (FPS) weighting for causal inference with functional treatments. Weights are estimated by maximising the empirical likelihood subject to covariate-balancing constraints and solving the resulting dual problem via the BFGS quasi-Newton algorithm, following Ciardulli, S. and Fontana, N. (2026). The package supports scalar, binary, and functional outcomes, as well as functional covariates. 
License: MIT + file LICENSE
Encoding: UTF-8
Depends: R (>= 4.1.0)
Imports: fda (>= 6.0.0), ggplot2 (>= 3.4.0), tidyr (>= 1.2.0), MASS (>=
        7.3-0), wCorr, patchwork (>= 1.1.0), progress (>= 1.2.0),
        stats, utils
Suggests: testthat (>= 3.0.0), knitr, rmarkdown
VignetteBuilder: knitr
RoxygenNote: 7.3.1
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2026-08-05 07:31:09 UTC; nicole.fontana
Author: Nicole Fontana [aut, cre],
  Simone Ciardulli [aut]
Maintainer: Nicole Fontana <nicole.fontana@polimi.it>
Repository: CRAN
Date/Publication: 2026-08-09 08:00:02 UTC
Built: R 4.7.0; ; 2026-08-18 03:48:12 UTC; windows
