Simulate Survival Data
Function for simulating survival data.
simsurvdata(n = 100, trt = 2, age = 2, sex = 1.5, cens = 0.3)
n |
|
trt, age, sex |
|
cens |
|
Currently limited to three covariates, Weibull survival times, and Type I censoring. This will be expanded to a flexible simulation function in future updates. For now the function is primarily limited to helping function examples.
simsurvdata()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.