{
  "_id": "6a35727c3efcd9bda43eb9f0",
  "Package": "prLogistic",
  "Type": "Package",
  "Title": "Estimation of Prevalence Ratios via Logistic Regression Models",
  "Version": "2.0.2",
  "Date": "2026-06-12",
  "Authors@R": "c(\nperson(\"Raydonal\", \"Ospina\",\nemail  = \"raydonal@de.ufpe.br\",\nrole   = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-9884-9090\")),\nperson(\"Leila D.\", \"Amorim\",\nemail  = \"leiladen@ufba.br\",\nrole   = \"aut\",\ncomment = c(ORCID = \"0000-0002-1112-2332\"))\n)",
  "Description": "Estimates adjusted prevalence ratios (PR) and their\nconfidence intervals from logistic regression models,\naddressing the well-known limitation of odds ratios (OR) as\napproximations to PR in cross-sectional studies with common\noutcomes. Supports independent observations (glm()),\nclustered/multilevel data (glmer() from 'lme4'), longitudinal\ndata via Generalised Estimating Equations (geeglm() from\n'geepack'), and complex survey designs (svyglm() from\n'survey'). Inference is available via the delta method\n(conditional and marginal standardisation) and via bootstrap\n(normal-approximation and percentile intervals). Continuous\ncovariates are handled through user-specified or median-based\nreference values; flexible baseline specification allows any\nreference category to be chosen for factor predictors. Based on\nthe methodology described in Amorim & Ospina (2021)\n<doi:10.1590/0001-3765202120190316>.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/Raydonal/prLogistic,\nhttps://raydonal.github.io/prLogistic/",
  "BugReports": "https://github.com/Raydonal/prLogistic/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-19 16:43:33 UTC",
    "User": "root"
  },
  "Author": "Raydonal Ospina [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9884-9090>), Leila D. Amorim [aut]\n(ORCID: <https://orcid.org/0000-0002-1112-2332>)",
  "Maintainer": "Raydonal Ospina <raydonal@de.ufpe.br>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-19 12:00:02 UTC",
  "RemoteUrl": "https://github.com/cran/prLogistic",
  "RemoteRef": "HEAD",
  "RemoteSha": "ee650bd239f75eb1f6bff924cd9cbab19adbfd46",
  "MD5sum": "2bb954abaac4952f63e0add490278153",
  "_user": "cran",
  "_type": "src",
  "_file": "prLogistic_2.0.2.tar.gz",
  "_fileid": "0b87f9af93e4e2a8fe1c70ab98fe8277cb6c2c4af40d387f351d6bc3383e99ac",
  "_filesize": 383197,
  "_sha256": "0b87f9af93e4e2a8fe1c70ab98fe8277cb6c2c4af40d387f351d6bc3383e99ac",
  "_created": "2026-06-19T16:43:33.000Z",
  "_published": "2026-06-19T16:46:52.675Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82390348332,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7754717866"
    },
    {
      "job": 82390348326,
      "time": 152,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7754715856"
    },
    {
      "job": 82389925334,
      "time": 190,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7754676420"
    },
    {
      "job": 82390348313,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7754711547"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27837831448",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/prLogistic",
  "_commit": {
    "id": "ee650bd239f75eb1f6bff924cd9cbab19adbfd46",
    "author": "Raydonal Ospina <raydonal@de.ufpe.br>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.0.2\n",
    "time": 1781870402
  },
  "_maintainer": {
    "name": "Raydonal Ospina",
    "email": "raydonal@de.ufpe.br",
    "login": "raydonal",
    "description": "",
    "uuid": 16047363,
    "orcid": "0000-0002-9884-9090"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "boot",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "geepack",
      "role": "Suggests"
    },
    {
      "package": "survey",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.0.2",
      "date": "2026-06-19"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "raydonal",
      "count": 4,
      "uuid": 16047363
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 610,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 21,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/prLogistic"
  },
  "_mentions": 3,
  "_devurl": "https://github.com/raydonal/prlogistic",
  "_pkgdown": "https://raydonal.github.io/prLogistic/",
  "_searchresults": 20,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/prLogistic.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2011-07-23"
    },
    {
      "version": "1.1",
      "date": "2011-10-26"
    },
    {
      "version": "1.2",
      "date": "2013-09-19"
    },
    {
      "version": "2.0.2",
      "date": "2026-06-19"
    }
  ],
  "_exports": [
    "prLogisticBootCond",
    "prLogisticBootMarg",
    "prLogisticDelta",
    "prLogisticGEE",
    "prLogisticSurvey"
  ],
  "_datasets": [
    {
      "name": "downer",
      "title": "Downer Cow Survival Data",
      "object": "downer",
      "class": [
        "data.frame"
      ],
      "fields": [
        "AST",
        "CK",
        "Calving",
        "Myopathy",
        "Survival"
      ],
      "rows": 216,
      "table": true,
      "tojson": true
    },
    {
      "name": "LBW",
      "title": "Low Birth Weight - Longitudinal Study (Salvador, Brazil)",
      "object": "LBW",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "birth",
        "smoke",
        "race",
        "age",
        "low"
      ],
      "rows": 488,
      "table": true,
      "tojson": true
    },
    {
      "name": "Thailand",
      "title": "Thailand Education Study - Clustered Binary Data",
      "object": "Thailand",
      "class": [
        "data.frame"
      ],
      "fields": [
        "schoolid",
        "sex",
        "pped",
        "rgi"
      ],
      "rows": 8582,
      "table": true,
      "tojson": true
    },
    {
      "name": "titanic",
      "title": "Titanic Passenger Survival",
      "object": "titanic",
      "class": [
        "data.frame"
      ],
      "fields": [
        "pclass",
        "survived",
        "sex",
        "embarked"
      ],
      "rows": 1307,
      "table": true,
      "tojson": true
    },
    {
      "name": "Toenail",
      "title": "Toenail Infection Trial - Longitudinal Binary Outcome",
      "object": "Toenail",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "Response",
        "Treatment",
        "Month",
        "Visit"
      ],
      "rows": 1908,
      "table": true,
      "tojson": true
    },
    {
      "name": "UIS",
      "title": "UIS Drug Treatment Study",
      "object": "UIS",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "Age",
        "DrugUse",
        "race",
        "trt",
        "site",
        "drugFree"
      ],
      "rows": 575,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "coef.prLogistic",
      "title": "Extract prevalence ratio point estimates",
      "topics": [
        "coef.prLogistic"
      ]
    },
    {
      "page": "confint.prLogistic",
      "title": "Extract confidence intervals for prevalence ratios",
      "topics": [
        "confint.prLogistic"
      ]
    },
    {
      "page": "downer",
      "title": "Downer Cow Survival Data",
      "topics": [
        "downer"
      ]
    },
    {
      "page": "LBW",
      "title": "Low Birth Weight - Longitudinal Study (Salvador, Brazil)",
      "topics": [
        "LBW"
      ]
    },
    {
      "page": "plot.prLogistic",
      "title": "Forest plot of prevalence ratios",
      "topics": [
        "plot.prLogistic"
      ]
    },
    {
      "page": "print.prLogistic",
      "title": "Print a prLogistic object",
      "topics": [
        "print.prLogistic"
      ]
    },
    {
      "page": "prLogisticBootCond",
      "title": "Bootstrap CI for Prevalence Ratios - Conditional Standardisation",
      "topics": [
        "prLogisticBootCond"
      ]
    },
    {
      "page": "prLogisticBootMarg",
      "title": "Bootstrap CI for Prevalence Ratios - Marginal Standardisation",
      "topics": [
        "prLogisticBootMarg"
      ]
    },
    {
      "page": "prLogisticDelta",
      "title": "Estimate Prevalence Ratios via Logistic Regression - Delta Method",
      "topics": [
        "prLogisticDelta"
      ]
    },
    {
      "page": "prLogisticGEE",
      "title": "Prevalence Ratios for Longitudinal Data - GEE Models",
      "topics": [
        "prLogisticGEE"
      ]
    },
    {
      "page": "prLogisticSurvey",
      "title": "Prevalence Ratios for Complex Survey Data",
      "topics": [
        "prLogisticSurvey"
      ]
    },
    {
      "page": "summary.prLogistic",
      "title": "Summarise a prLogistic object",
      "topics": [
        "summary.prLogistic"
      ]
    },
    {
      "page": "Thailand",
      "title": "Thailand Education Study - Clustered Binary Data",
      "topics": [
        "Thailand"
      ]
    },
    {
      "page": "titanic",
      "title": "Titanic Passenger Survival",
      "topics": [
        "titanic"
      ]
    },
    {
      "page": "Toenail",
      "title": "Toenail Infection Trial - Longitudinal Binary Outcome",
      "topics": [
        "Toenail"
      ]
    },
    {
      "page": "UIS",
      "title": "UIS Drug Treatment Study",
      "topics": [
        "UIS"
      ]
    }
  ],
  "_readme": "https://github.com/cran/prLogistic/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "lattice",
    "lme4",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "rbibutils",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang"
  ],
  "_vignettes": [
    {
      "source": "prLogistic-intro.Rmd",
      "filename": "prLogistic-intro.html",
      "title": "Estimating Prevalence Ratios with prLogistic",
      "author": "Leila D. Amorim & Raydonal Ospina",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation",
        "Independent observations — glm",
        "Data",
        "Fitting the model",
        "Delta method — conditional standardisation",
        "Delta method — marginal standardisation",
        "Custom reference values",
        "Forest plot",
        "Bootstrap confidence intervals",
        "Clustered / multilevel data — glmer (lme4)",
        "Longitudinal data — GEE via geepack",
        "Complex survey data — svyglm (survey)",
        "Comparing OR and PR",
        "Methodological notes",
        "Conditional standardisation",
        "Marginal standardisation",
        "Delta method",
        "Session information",
        "References"
      ],
      "created": "2026-06-19 12:00:02",
      "modified": "2026-06-19 12:00:02",
      "commits": 1
    },
    {
      "source": "article-examples.Rmd",
      "filename": "article-examples.html",
      "title": "Reproducing the Examples from Amorim & Ospina (2021)",
      "author": "Leila D. Amorim & Raydonal Ospina",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example 1 — Low Birth Weight (LBW): clustered binary data",
        "Data",
        "Independent GLM (ignoring clustering)",
        "GEE — accounting for within-mother correlation",
        "Mixed model (random intercept per mother)",
        "Example 2 — Thailand Education Study: multilevel data",
        "Independent GLM",
        "Mixed model",
        "Example 3 — Toenail Infection Trial: longitudinal data",
        "GEE",
        "Example 4 — UIS Drug Treatment Study",
        "GLM — independent observations",
        "OR vs PR comparison",
        "Bootstrap CIs",
        "Example 5 — Downer Cow Survival",
        "GLM",
        "Example 6 — Titanic Survival",
        "GLM — OR vs PR",
        "Forest plot",
        "Key comparison for Titanic",
        "Summary",
        "Session information"
      ],
      "created": "2026-06-19 12:00:02",
      "modified": "2026-06-19 12:00:02",
      "commits": 1
    }
  ],
  "_score": 3.778151250383644,
  "_indexed": true,
  "_nocasepkg": "prlogistic",
  "_universes": [
    "cran",
    "raydonal"
  ],
  "_previous": "1.2",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.2",
      "date": "2026-06-19T16:45:53.000Z",
      "distro": "noble",
      "commit": "ee650bd239f75eb1f6bff924cd9cbab19adbfd46",
      "fileid": "0a24e2196923e350a9207923da5692856bedb62d299ed72ac55c1705412e418a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27837831448"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.2",
      "date": "2026-06-19T16:45:47.000Z",
      "distro": "noble",
      "commit": "ee650bd239f75eb1f6bff924cd9cbab19adbfd46",
      "fileid": "46b8d50b513d8c7fcbf277c86e754a30c36e7506fb23980f926973f52fe25e19",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27837831448"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.2",
      "date": "2026-06-19T16:46:06.000Z",
      "commit": "ee650bd239f75eb1f6bff924cd9cbab19adbfd46",
      "fileid": "d3d9c6ba75206988e563b5a3a510c7a99bc880287802d004aee81b0796290d1b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27837831448"
    }
  ]
}