n_resamples
estimates of NCompute n_resamples
estimates of N
resample_n_locshift_one(sample, alpha, power, delta, n_resamples, q)
pilot data
Type I error probability
1 - Type II error probability, the desired statistical power
numeric value, location shift parameter \(\delta\)
number of resamples to use in bootstrapping
size of group0 relative to total sample size.
numeric vector of sample size estimates