I am having trouble interpreting the riskRegression()
function in the R package riskRegression
:
https://cran.r-project.org/web/packages/riskRegression/riskRegression.pdf
I looked over the examples under this function in the package vignette, but none of them actually use this function name. They use different function names such as LRR()
or ARR()
, so I am rather confused as to what the function actually does.
You can see from the source code below that
ARR()
andLRR()
are just wrappers forriskRegression(link="relative")
andriskRegression(link="logistic")
, respectively.Created on 2022-11-26 by the reprex package (v2.0.1)