Skip to content

Commit

Permalink
address #647
Browse files Browse the repository at this point in the history
  • Loading branch information
mattansb committed Jun 23, 2024
1 parent ad36239 commit 9598632
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
13 changes: 12 additions & 1 deletion R/interpret_r.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,19 @@
#' `"evans1996"`, `"lovakov2021"` or a custom set of [rules()].
#' @param ... Not directly used.
#'
#' @details
#' Since Cohen's _w_ does not have an upper bound, for all by the most simple of
#' cases (2-by-2 or 1-by-2 tables), interpreting Cohen's _w_ as a correlation
#' coefficient is inappropriate (Ben-Shachar, et al., 2024; Cohen, 1988, p.
#' 222). Please us [cramers_v()] of the like instead.
#'
#'
#' @note As \eqn{\phi}{\phi} can be larger than 1 - it is recommended to compute
#' and interpret Cramer's *V* instead.
#'
#' @section Rules:
#'
#' Rules apply positive and negative *r* alike.
#' Rules apply to positive and negative *r* alike.
#'
#' - Funder & Ozer (2019) (`"funder2019"`; default)
#' - **r < 0.05** - Tiny
Expand Down Expand Up @@ -66,6 +73,10 @@
#' - Evans, J. D. (1996). Straightforward statistics for the behavioral
#' sciences. Thomson Brooks/Cole Publishing Co.
#'
#' - Ben-Shachar, M.S., Patil, I., Thériault, R., Wiernik, B.M., Lüdecke, D.
#' (2023). Phi, Fei, Fo, Fum: Effect Sizes for Categorical Data That Use the
#' Chi‑Squared Statistic. Mathematics, 11, 1982. \doi{10.3390/math11091982}
#'
#' @keywords interpreters
#' @export
interpret_r <- function(r, rules = "funder2019", ...) {
Expand Down
11 changes: 10 additions & 1 deletion man/interpret_r.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9598632

Please sign in to comment.