Helper function to convert between Cohen's f and Eta-squared.
Usage
f.to.etasq(f, verbose = TRUE)
etasq.to.f(eta.squared, verbose = TRUE)
Arguments
- f
Cohen's f.
- eta.squared
(Partial) Eta-squared.
- verbose
logical; whether the output should be printed on the console. TRUE
by default.
Value
- f
Cohen's f.
- eta.squared
(Partial) Eta-squared.
References
Cohen, J. (1988). Statistical power analysis for the behavioral sciences (2nd ed.). Lawrence Erlbaum Associates.
Examples
f.to.etasq(f = 0.10) # small
#> eta.squared f.squared f
#> 0.00990099 0.01000000 0.10000000
f.to.etasq(f = 0.25) # medium
#> eta.squared f.squared f
#> 0.05882353 0.06250000 0.25000000
f.to.etasq(f = 0.40) # large
#> eta.squared f.squared f
#> 0.137931 0.160000 0.400000