Calculates the effect power given the anticipated coefficients and the type-I error
effectpower(
RunMatrix,
levelvector,
anticoef,
alpha,
vinv = NULL,
degrees = NULL
)
The number of levels in each parameter (1st is always the intercept)
The anticipated coefficients
the specified type-I error
The V inverse matrix
The model matrix
The effect power for the parameters