Description Usage Arguments Value Examples
Simulates survival data from a Cox Proportional Hazards model with the exponential distribution (Bender 2005).
1 |
N |
desired sample size of simulated data |
formula |
formula of covariates provided as vectors |
X |
model matrix of covariates |
beta |
vector of coefficients |
tfun |
a time function from Bender 2005 with distributional parameters as input. Current options: |
data.frame
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.