The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

causalgenerics: Shared Generics for the 'r-causal' Ecosystem

A home for the S3 generics shared across the 'r-causal' ecosystem, including 'propensity', 'halfmoon', 'positively', and 'balancing'. Owning the generic definitions in one place lets those packages register methods without masking one another when several are attached at once. The generics cover inverse probability weighted estimation, effective sample size, and the metadata carried by causal weight vectors, and the package supplies the abstract causal weight class and the result class those estimates are returned in, together with the methods both classes carry, so that the ecosystem packages inherit them rather than writing their own. The design follows that of the 'generics' package, which provides commonly used S3 generics for the same purpose: letting packages share a single definition instead of each defining its own.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: stats, vctrs
Suggests: testthat (≥ 3.2.0), withr
Published: 2026-08-08
DOI: 10.32614/CRAN.package.causalgenerics
Author: Malcolm Barrett ORCID iD [aut, cre, cph]
Maintainer: Malcolm Barrett <malcolmbarrett at gmail.com>
BugReports: https://github.com/r-causal/causalgenerics/issues
License: MIT + file LICENSE
URL: https://github.com/r-causal/causalgenerics, https://r-causal.github.io/causalgenerics/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: causalgenerics results

Documentation:

Reference manual: causalgenerics.html , causalgenerics.pdf

Downloads:

Package source: causalgenerics_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: causalgenerics_0.1.0.zip, r-oldrel: causalgenerics_0.1.0.zip
macOS binaries: r-release (arm64): causalgenerics_0.1.0.tgz, r-oldrel (arm64): causalgenerics_0.1.0.tgz, r-release (x86_64): causalgenerics_0.1.0.tgz, r-oldrel (x86_64): causalgenerics_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=causalgenerics to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.