survreg_data | R Documentation |
Data sample for the survival analysis example
A data frame with 1000 rows, and 4 columns. Suitable for the Cox regression model.
The file was generated using the simple.surv.sim
function from the survsim
package.
is the status of each subject, where 1 corresponds to event, and 0 to censoring
is the time of the event/censoring
is the allocated arm of each subject where 1 corresponds to treatment, and 0 to control
is continuous explanatory variable
V. Vancak
MoriƱa, D., Navarro, A., & Soler, M. D. M. (2018). Package survsim
.
data(survreg_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.