eval.power.cont: estimate power for continuous variable

View source: R/eval.power.cont.R

eval.power.contR Documentation

estimate power for continuous variable

Description

This function estimates power for a continuous variable given the sample size, effect size, significance threshold, and the degrees of freedom.

Usage

eval.power.cont(N, n_coeff, effect, alpha)

Arguments

N

Sample size

n_coeff

degrees of freedom for numerator

effect

effect size

alpha

significance level (Type 1 error)

Examples

eval.power.cont(N = 1000, n_coeff = 1, effect = 0.0025, alpha = 0.05)


MRCIEU/metaboprep documentation built on Jan. 28, 2023, 7:29 p.m.