Package: prLogistic
Type: Package
Title: Estimation of Prevalence Ratios via Logistic Regression Models
Version: 2.0.2
Date: 2026-06-12
Authors@R: c(
    person("Raydonal", "Ospina",
           email  = "raydonal@de.ufpe.br",
           role   = c("aut", "cre"),
           comment = c(ORCID = "0000-0002-9884-9090")),
    person("Leila D.", "Amorim",
           email  = "leiladen@ufba.br",
           role   = "aut",
           comment = c(ORCID = "0000-0002-1112-2332"))
  )
Description: 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>.
License: GPL (>= 2)
URL: https://github.com/Raydonal/prLogistic,
        https://raydonal.github.io/prLogistic/
BugReports: https://github.com/Raydonal/prLogistic/issues
Encoding: UTF-8
LazyData: true
LazyDataCompression: xz
Depends: R (>= 4.1.0)
Imports: boot, lme4, stats, graphics
Suggests: geepack, survey, MASS, testthat (>= 3.0.0), knitr, rmarkdown,
        ggplot2, dplyr
VignetteBuilder: knitr
Config/testthat/edition: 3
Config/roxygen2/version: 8.0.0
NeedsCompilation: no
Packaged: 2026-06-12 13:58:24 UTC; raydonal
Author: Raydonal Ospina [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-9884-9090>),
  Leila D. Amorim [aut] (ORCID: <https://orcid.org/0000-0002-1112-2332>)
Maintainer: Raydonal Ospina <raydonal@de.ufpe.br>
Repository: CRAN
Date/Publication: 2026-06-19 12:00:02 UTC
