Plot the power obtained with sample size
sample_size_figure(control_group_est, se_est, diff = 5, samples = 20)An estimate of the alpha diversity parameter for the control group
An estimate of the (common) standard deviation
An estimate of the difference between the control and non-control groups
Number of bootstrap resamples used to estimate the sample size. Increase for a more accurate estimate.
A plot of the power with the sample size