Code accompanying the paper 'Animal pilot studies should not be used to estimate sample size if effect size and population variance are unknown'.
Running the script plots the figure in the paper 'from scratch'. Parameters can be modified as desired.