R: Power and Sample Size Tools

# Power and Sample Size Tools

## Documentation for package ‘powertools’ version 1.0.0

- DESCRIPTION file

## Help Pages

altprimary | Power calculation for multiple alternative (at least one) primary continuous endpoints assuming known covariance matrix
anova1way.c.bal | Power calculation for one-way balanced analysis of variance contrast test
anova1way.c.unbal | Power calculation for one-way unbalanced analysis of variance contrast test
anova1way.F.bal | Power calculation for balanced one-way ANOVA omnibus F test
anova1way.F.unbal | Power calculation for unbalanced one-way analysis of variance omnibus F test
anova2way.c.bal | Power calculation for two-way balanced analysis of variance contrast test
anova2way.c.unbal | Power calculation for two-way unbalanced analysis of variance contrast test
anova2way.F.bal | Power calculation for two-way balanced analysis of variance F tests
anova2way.F.unbal | Power calculation for two-way unbalanced analysis of variance F tests
anova2way.se.bal | Power calculation for test of simple effect for two-way balanced analysis of variance
anova2way.se.unbal | Power calculation for test of simple effect for two-way unbalanced analysis of variance
chisq.gof | Power calculation for chi-square goodness-of-fit test
chisq.indep | Power calculation for chi-square test of independence
ci.mean | Power calculation for precision analysis (confidence interval) for one mean
ci.meandiff | Power calculation for precision analysis (confidence interval) for a difference between two means
coprimary.t | Power calculations for multiple co-primary continuous endpoints assuming unknown covariance matrix
coprimary.z | Power calculations for multiple co-primary continuous endpoints assuming known covariance matrix
corr.1samp | Power calculation for test of one correlation coefficient
corr.2samp | Power calculation for comparing two correlation coefficients
crt.long.cont | Power for test of treatment effect in longitudinal cluster randomized trial with baseline measurement
crt.means.r | Correlation between a cluster mean at baseline and follow up
crt.parallel.bin | Power calculation for cluster randomized trial with binary outcome
crt.parallel.cont | Power for cluster randomized trial with continuous outcome
crt.parallel.hte | Power for detecting treatment effect heterogeneity in a cluster randomized trial with a continuous outcome
crt.varexplore | Variance exploration for cluster randomized trials with binary outcomes
crt.xo.cont | Power for test of treatment effect in 2x2 crossover cluster randomized trial
es.anova.f | Cohen f effect size calculation for one- or two- way analysis of variance
es.d | Cohen d effect size calculation for one or two means
es.fsq.overall | Cohen f-squared effect size for overall F test in multiple linear regression
es.fsq.partial | Cohen f-squared effect size for partial F test in multiple linear regression
es.h | Cohen h effect size calculation for two proportions
es.q | Cohen q effect size calculation for two correlation coefficients
es.w | Cohen w effect size calculation for chi-square tests
irgtt.bin | Power for individual randomized group treatment trial with binary outcome
irgtt.cont | Power for individually randomized group treatment trial with continuous outcome
irt.hte | Power for detecting treatment effect heterogeneity in an individually randomized trial with a continuous outcome
maps | maps dataframe
mlrF.overall | Power calculation for a multiple linear regression overall F test
mlrF.partial | Power calculation for a multiple linear regression partial F test
ms.varexplore | Variance exploration for a multisite trial with a binary outcome
multisite.bin | Power for a multisite trial with a binary outcome
multisite.cont | Power for test of average treatment effect in a multisite trial
multisite.hte | Power for test of heterogeneity of treatment effect in a multisite trial
prop.1samp | Power calculation for one-sample proportion test
prop.2samp | Power calculation for two-sample proportion test
prop.paired | Power calculation for McNemar test of two correlated proportions
prop.test.equiv | Power calculation for test of equivalence of two proportions
propodds | Power calculations for ordinal categorical variable under proportional odds assumption
ranksum | Power calculation for rank-sum test
re.clustsize.bin | Relative efficiency of a cluster randomized or multisite trial with binary outcome with varying cluster sizes
re.clustsize.cont | Relative efficiency of a cluster randomized or multisite trial with continuous outcome with varying cluster sizes
relrisk | Power calculation for relative risk
signedrank | Power calculation for signed-rank test
signtest | Power calculation for sign test
slr | Power calculation for a simple linear regression
ttest.1samp | Power calculation for one-sample t test
ttest.2samp | Power calculation for two-sample t test
ttest.paired | Power calculation for paired t test
ztest.1samp | Power calculation for one-sample z test
ztest.2samp | Power calculation for two-sample z test
ztest.paired | Power calculation for paired z test