d.contr.eta2: Compute contrast d from (partial) eta-squared

Description Usage Arguments Value Author(s)

View source: R/variances.R

Description

Compute contrast d from (partial) eta-squared

Usage

1
d.contr.eta2(cont, eta2, scale = "g")

Arguments

cont

vector of contrast weights.

eta2

eta-squared coefficient for given contrast.

scale

method to scale d.

Value

eta-squared. @details The parameter scale controls the method used to scale the effect size d.

  1. scale="g" assumes scaling by dividing 2*d by the sum of absolute coefficients

  2. scale="q" assumes scaling by dividing d by the square-root of the sum of squares of the coefficients

  3. numeric any constant that multiplies the unscaled d to obtain the scaled d

Author(s)

Marcello Gallucci, mcfanda@gmail.com


mcfanda/cpower documentation built on May 28, 2019, 1 p.m.