sample_size: Sample size calculator

Description Usage Arguments

View source: R/samplesize.R

Description

Gives the approximate sample size needed for desired power, significance level, estimated standard deviation, and mean under null and alternative hypothesis.

Usage

1
sample_size(alpha = , power = , sd = , mu0 = , mu1 = )

Arguments

alpha

Desired Significance level

sd

Standard Deviation

mu0

Mean under the null hypothesis

mu1

Mean under the alternative hypothesis

power

Desired Power


biostatsrulez/DScience documentation built on May 25, 2019, 3:23 p.m.