SocialFacts: Average Attributable Fraction and Other Relevant Social Sciences Indicators

Compute Average Attributable Fraction (AAF) and produce a GT table with Odds.ratio, Average Marginal Effects and AAF, with confidence interval and p.value. Also compute other metrics such as Yule's Q and Cramer's V. For more details, see Fergusion and al. (2024) <doi:10.1007/s10654-024-01129-1>.

Version: 1.3.0
Depends: R (≥ 4.1.0)
Imports: averisk, broom.helpers, dplyr, graphPAF (≥ 2.0.1), gt, psych, gtsummary, rcompanion, scales, stats, stringr, weights, questionr, katex, marginaleffects
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-07-24
DOI: 10.32614/CRAN.package.SocialFacts (may not be active yet)
Author: Alioscha Massein ORCID iD [aut, cre, cph], Brice Lefèvre ORCID iD [aut]
Maintainer: Alioscha Massein <alioscha.massein at cnrs.fr>
BugReports: https://github.com/Geminy3/SocialFacts/issues
License: MIT + file LICENSE
URL: https://github.com/Geminy3/SocialFacts, https://geminy3.github.io/SocialFacts/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: SocialFacts results

Documentation:

Reference manual: SocialFacts.html , SocialFacts.pdf

Downloads:

Package source: SocialFacts_1.3.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

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