conversion.f.to.etasq: Conversion from Cohen's f to Eta-squared

f.to.etasqR Documentation

Conversion from Cohen's f to Eta-squared

Description

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
f.to.etasq(f = 0.25) # medium
f.to.etasq(f = 0.40) # large

pwrss documentation built on Sept. 16, 2025, 9:11 a.m.