fetch.data | R Documentation |
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.
fetch.data(alpha, delta, prin = FALSE)
alpha |
value of nominal size of test |
delta |
value of clinically relevant difference |
prin |
If TRUE, error and/or warning messages are printed. |
No return value. A library object will appear in the global environment.
Chris J. Lloyd
C.J. Lloyd (2022) Exact samples sizes for clinical trials subject to size and power constraints. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.13140/RG.2.2.11828.94085")}
#'
## Not run:
fetch.data(alpha=0.05,delta=0.10)
# Object LIB.a050.d10 will appear with 83,289,960 elements
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.