Function for sample size calculation
Function for sample size calculation
sampSizeCore(upperN, lowerN = floor(upperN/2), targFunc, target, tol = 0.001, alRatio, Ntype = c("arm", "total"), verbose = FALSE, ...)
upperN |
|
lowerN |
|
targFunc |
The target (power) function that should be monotonically increasing in |
target |
The target value. The function searches the |
tol |
Tolerance: The function searches the |
alRatio |
Allocation ratio. |
Ntype |
Either |
verbose |
Logical, whether verbose output should be printed. |
... |
... |
For details see the manual and examples.
Integer value n
(of type numeric) with targFunc(n)-target<tol
and targFunc(n)>target
.
This function is taken from package DoseFinding under GPL from Bjoern Bornkamp, Jose Pinheiro and Frank Bretz
f <- function(x){1/100*log(x)} gMCP:::sampSizeCore(upperN=1000, targFunc=f, target=0.008, verbose=TRUE, alRatio=1)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.