Skip to content

prLogistic

2.0.2

Estimation of Prevalence Ratios via Logistic Regression Models

0packages depend
554downloads / year
0.0%test coverage
13/13checks pass

Overview

About
Maintained by Raydonal OspinaFirst published 2026-06-194 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 3.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.21
0.0%
Coverage · measured lines
100%
Documentation · exports
4
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-23
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-20
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 214 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
24%

Downloads

554
CRAN downloads in the past year
Rank #20,688 · ~2/day · ~46/mo
Daily download trend is not available in this view yet.
16830 days
55290 days
5541 year
Compare downloads with other packages →
Also on73 r2u19 autocran

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2026-06-15

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/raydonal/prlogistic on 2026-08-23.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (4)
bootlme4statsgraphics
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author · added in 2.0.2
Listed in earlier versions (1)
no longer listed · 1.0 to 1.2
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 2.0.2Latest
    2026-06-19 · current release · diff ↗
  • unarchivedReturned to CRAN
    2026-06-19
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • archivedRemoved from CRAN
    2022-06-14
    check problems were not corrected despite reminders
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
Show 7 earlier events
  • 1.2
    2013-09-19 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • 1.1
    2011-10-26 · diff ↗
  • 1.0
    2011-07-23
  • R
    R 2.13.0 released · 2011-04-13

Package metadata

First published
2026-06-19
Total releases
4 / 1 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.1.0
Bundled data
16 KB / 6 files
Download size
136 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("prLogistic")
Ospina, R., & Amorim, L. D. (2026). prLogistic: Estimation of Prevalence Ratios via Logistic Regression Models (Version 2.0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.prLogistic

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for prLogistic version 2.0.2 [Data set]. HJJB, LLC. Data release v2026-08-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy