View source: R/simulatePowerCurve.R
simulatePowerCurve | R Documentation |
Estimate power curve for Bland-Altman limits of agreement test
simulatePowerCurve(nMin, nMax, stepsize, mu, SD, delta, gamma = 0.05,
alpha = 0.05, nsims = 1000, parallel = TRUE, ncores = NULL)
nMin |
minimum sample size |
nMax |
maximum sample size |
stepsize |
number of samples to step between nMin and nMax |
mu |
mean of differences |
SD |
standard deviation of differences |
delta |
pre-determined clinical agreement interval |
gamma |
alpha level of Bland-Altman LOA |
alpha |
alpha level of LOA confidence intervals |
nsims |
number of simulations per sample size |
parallel |
logical |
ncores |
number of cores to use in parallel computation |
a dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.