sample_size_figure: Plot the power obtained with sample size

View source: R/tools_sample_size.R

sample_size_figureR Documentation

Plot the power obtained with sample size

Description

Plot the power obtained with sample size

Usage

sample_size_figure(control_group_est, se_est, diff = 5, samples = 20)

Arguments

control_group_est

An estimate of the alpha diversity parameter for the control group

se_est

An estimate of the (common) standard deviation

diff

An estimate of the difference between the control and non-control groups

samples

Number of bootstrap resamples used to estimate the sample size. Increase for a more accurate estimate.

Value

A plot of the power with the sample size


breakaway documentation built on Nov. 22, 2022, 5:08 p.m.