GenData | R Documentation |
Generate Data
GenData(
base_event_rate = 1,
beta_event = NULL,
censoring_rate = 0.25,
covariates = NULL,
frailty_variance = 0,
min_event_rate = 0.05,
n = 100,
simple = TRUE,
tau = 4
)
base_event_rate |
Baseline arrival rate for events. |
beta_event |
Numeric vector of log rate ratios for the event rate. |
censoring_rate |
Arrival rate for the censoring time. |
covariates |
Numeric design matrix. |
frailty_variance |
Variance of the gamma frailty. |
min_event_rate |
Minimum subject-specific event rate. Must be positive. |
n |
Number of subjects. Overwritten by |
simple |
Return only the index, time, and status? If FALSE, returns additional data. |
tau |
Truncation time. |
Data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.