diff --git a/R/convert_between_d_to_r.R b/R/convert_between_d_to_r.R index b854e3bc..6217e3ec 100644 --- a/R/convert_between_d_to_r.R +++ b/R/convert_between_d_to_r.R @@ -90,7 +90,7 @@ oddsratio_to_d <- function(OR, p0, log = FALSE, ...) { odds1 <- OR * probs_to_odds(p0) p1 <- odds_to_probs(odds1) - qnorm(p1) - qnorm(p0) + stats::qnorm(p1) - stats::qnorm(p0) } #' @rdname d_to_r