Open bwiernik opened 1 year ago
We have the OR to RR one here https://easystats.github.io/effectsize/reference/oddsratio_to_riskratio.html
Should we have all possible pairings?
Oh, then I guess the issue is that some of our functions start with convert and some don't. That's confusing and we should consider standardizing
I think the verbosity can be reduced (:
Do any functions start with convert_*
?
Just saw, that seem to be aliases, right? Maybe we can deprecate those?
But for convenience reasons, we could probably add those conversion functions, too? And also add log-odds functions that call the oddsratio-functions with log = TRUE
? Some colleagues were using the effectsize package and "complaining" that you can only convert to/from odds ratio, but not log-odds. They missed the log
argument, which also isn't clearly documented (people need "keywords" like "log-odds" or similar).
Okay, so I think we need two sets of functions:
oddsratio_to_riskratio
)oddsratio_to_arr
)riskratio_to_oddsratio
)riskratio_to_arr
)arr_to_oddsratio
)arr_to_riskratio
)arr_to_nnt
)nnt_to_arr
)Do we need??
@strengejacke @bwiernik
Also
convert_
functions (sorry @DominiqueMakowski )@strengejacke started on some of these in #569