f.contr.d: Compute contrast f from d

Description Usage Arguments Details Value Author(s)

View source: R/variances.R

Description

Compute contrast f from d

Usage

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

Arguments

cont

vector of contrast weights.

d

d coefficient for given contrast.

scale

method to scale d.

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="z" 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

Value

f.

Author(s)

Marcello Gallucci, mcfanda@gmail.com


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