Description Usage Arguments Value Examples
Calculates the minimum recruitment time and number of patients needed to achieve the targeted number of events befor administrative study end.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 
| N | a two column matrix containing the size of both recruitment groups per
row, representing the number of recruited patients per group and timepoint ( | 
| tn | a vecotr of length =  | 
| M | a two column matrix containing the size of both recruitment groups per
row, representing the number of future recruited patients per group and timepoint ( | 
| tm | a vecotr of length =  | 
| theta | a number greater 0 defining the assumed hazard ratio. | 
| nEvents | a number greater 0 defining the targeted number of events to achieve the planned power. | 
| L | a number defining the timepoint for administrative censoring.
If no administrative censoring is planned  | 
| from | a number > 0 defining the minimum number of recruitment steps. Default is 1, starting with the first recruited batch of patients. | 
| lambda | a number greater 0 defining the hazard rate for the survival process of
group1. For the parametrization see  | 
| sigma, kappa | a number greater 0 defining the shape parameter for the survival- and the censor process. Only needed if distS or distC is set to weibull. Default is 1 resulting in an exponential distribution. | 
| distS, distC | a character string defining the distribution of the survival- and the censor process. Default is 'exponential'. | 
| gamma | a number greater 0 defining the overall hazard rate for the censor process. | 
a list with the minimum needed batches of recruits defined by N (rec_batch),
the minimum time for recruitment dependend on tn (rec_time) and the minimum amount of
patients (rec_total_number).
| 1 2 3 4 5 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.