Description Usage Arguments Value References Examples
Create object with complete survival assumptions (accrual, survival, and censoring distribution).
1 2 3 4 5 |
size |
Sample size. |
accrual_time |
Duration of accrual. |
accrual_dist |
Accrual distribution. Default is 'uniform'. Alternatively,
'truncexp' allows for a truncated exponetial distribution as proposed by
Lachin and Foulkes (1986). Depending on the value of |
accrual_param |
Parameter for accrual distribution. Used only if
|
follow_time |
Duration of follow-up. |
total_time |
Total duration of study. |
surv_median |
Median for exponential survival distribution. |
surv_exphazard |
Hazard rate for exponential survival distribution. |
surv_milestone |
Vector of time and milestone survival. |
loss_rate |
Rate of patients lost to follow-up (probability). |
loss_median |
Median for exponential censoring distribution. |
loss_exphazard |
Hazard rate for exponential censoring distribution. |
loss_milestone |
Vector of time and milestone censoring. |
An object with classes "list" and "survdist".
Lachin, J. M. and Foulkes, M. A. (1986) Evaluation of sample size and power for analyses of survival with allowance for nonuniform patient entry, losses to follow-up, noncompliance, and stratification. Biometrics, 42, 507-519.
1 2 3 | example <- create_survdist(450, accrual_time=24, total_time=36,
surv_median=6, loss_rate=0.2)
class(example)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.