pwr.summary {pwr4exp} | R Documentation |
Power for model coefficients
Description
Computes the statistical power for testing (t-test) model coefficients.
Usage
pwr.summary(object, sig.level = 0.05)
Arguments
object |
design object |
sig.level |
significance level, default 0.05 |
Value
a data frame containing model coefficients, degrees of freedom (df
),
type I error rate (sig.level
), power, and the test direction (alternative
).
Examples
rcbd <- designRCBD(
treatments = c(2, 2),
label = list(facA = c("1", "2"), facB = c("1", "2")),
blocks = 12,
formula = ~ facA*facB + (1|block),
means = c(32, 35, 30, 37),
vcomp = 4,
sigma2 = 6
)
pwr.summary(rcbd)
[Package pwr4exp version 1.0.0 Index]