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.

prLogistic: Estimation of Prevalence Ratios via Logistic Regression Models

Estimates adjusted prevalence ratios (PR) and their confidence intervals from logistic regression models, addressing the well-known limitation of odds ratios (OR) as approximations to PR in cross-sectional studies with common outcomes. Supports independent observations (glm()), clustered/multilevel data (glmer() from 'lme4'), longitudinal data via Generalised Estimating Equations (geeglm() from 'geepack'), and complex survey designs (svyglm() from 'survey'). Inference is available via the delta method (conditional and marginal standardisation) and via bootstrap (normal-approximation and percentile intervals). Continuous covariates are handled through user-specified or median-based reference values; flexible baseline specification allows any reference category to be chosen for factor predictors. Based on the methodology described in Amorim & Ospina (2021) <doi:10.1590/0001-3765202120190316>.

Version: 2.0.2
Depends: R (≥ 4.1.0)
Imports: boot, lme4, stats, graphics
Suggests: geepack, survey, MASS, testthat (≥ 3.0.0), knitr, rmarkdown, ggplot2, dplyr
Published: 2026-06-19
DOI: 10.32614/CRAN.package.prLogistic
Author: Raydonal Ospina ORCID iD [aut, cre], Leila D. Amorim ORCID iD [aut]
Maintainer: Raydonal Ospina <raydonal at de.ufpe.br>
BugReports: https://github.com/Raydonal/prLogistic/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/Raydonal/prLogistic, https://raydonal.github.io/prLogistic/
NeedsCompilation: no
Citation: prLogistic citation info
Materials: README, NEWS
CRAN checks: prLogistic results

Documentation:

Reference manual: prLogistic.html , prLogistic.pdf
Vignettes: Reproducing the Examples from Amorim & Ospina (2021) (source, R code)
Estimating Prevalence Ratios with prLogistic (source, R code)

Downloads:

Package source: prLogistic_2.0.2.tar.gz
Windows binaries: r-devel: prLogistic_2.0.2.zip, r-release: prLogistic_2.0.2.zip, r-oldrel: prLogistic_2.0.2.zip
macOS binaries: r-release (arm64): prLogistic_2.0.2.tgz, r-oldrel (arm64): prLogistic_2.0.2.tgz, r-release (x86_64): prLogistic_2.0.2.tgz, r-oldrel (x86_64): prLogistic_2.0.2.tgz
Old sources: prLogistic archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=prLogistic 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.