The power functions implemented in #10 and #16 depend on the coefficient of correlation/determination. In practice people will find ways to estimate these using data that is expected to look like the "new" data we are doing power/sample size calculations for. Thus, create functionality to perform this estimation (needing a traning data to fit a prognostic model, so we can produce prognostic scores on the test data and thus estimate the correlation/R^2).