fetch.data {exact.n} | R Documentation |
Download a target power library
Description
Function downloads one of 85 power libraries from chrislloyd.com.au. The libraries are all four column matrices with roughly 20 million rows and will be around 1.4Gb within R. Download should take roughly a minute. The object will have a name of the form LIB.alpha.delta.Rdata.
Usage
fetch.data(alpha, delta, prin = FALSE)
Arguments
alpha |
value of nominal size of test |
delta |
value of clinically relevant difference |
prin |
If TRUE, error and/or warning messages are printed. |
Value
No return value. A library object will appear in the global environment.
Author(s)
Chris J. Lloyd
References
C.J. Lloyd (2022) Exact samples sizes for clinical trials subject to size and power constraints. doi:10.13140/RG.2.2.11828.94085
Examples
#'
## Not run:
fetch.data(alpha=0.05,delta=0.10)
# Object LIB.a050.d10 will appear with 83,289,960 elements
## End(Not run)
[Package exact.n version 1.1.1 Index]