Crandore Hub

logisticRR

Adjusted Relative Risk from Logistic Regression

Adjusted odds ratio conditional on potential confounders can be directly obtained from logistic regression. However, those adjusted odds ratios have been widely incorrectly interpreted as a relative risk. As relative risk is often of interest in public health, we provide a simple code to return adjusted relative risks from logistic regression model under potential confounders.

Versions across snapshots

VersionRepositoryFileSize
0.3.0 rolling linux/jammy R-4.5 logisticRR_0.3.0.tar.gz 105.9 KiB
0.3.0 rolling linux/noble R-4.5 logisticRR_0.3.0.tar.gz 106.1 KiB
0.3.0 rolling source/ R- logisticRR_0.3.0.tar.gz 38.8 KiB
0.3.0 latest linux/jammy R-4.5 logisticRR_0.3.0.tar.gz 105.9 KiB
0.3.0 latest linux/noble R-4.5 logisticRR_0.3.0.tar.gz 106.1 KiB
0.3.0 latest source/ R- logisticRR_0.3.0.tar.gz 38.8 KiB
0.3.0 2026-04-26 source/ R- logisticRR_0.3.0.tar.gz 38.8 KiB
0.3.0 2026-04-23 source/ R- logisticRR_0.3.0.tar.gz 38.8 KiB
0.3.0 2026-04-09 windows/windows R-4.5 logisticRR_0.3.0.zip 108.1 KiB
0.3.0 2025-04-20 source/ R- logisticRR_0.3.0.tar.gz 38.8 KiB

Dependencies (latest)

Imports

Suggests