survreg_data: Data sample for the survival analysis example

survreg_dataR Documentation

Data sample for the survival analysis example

Description

Data sample for the survival analysis example

Format

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.

status

is the status of each subject, where 1 corresponds to event, and 0 to censoring

stop

is the time of the event/censoring

x

is the allocated arm of each subject where 1 corresponds to treatment, and 0 to control

x.1

is continuous explanatory variable

Author(s)

V. Vancak

References

MoriƱa, D., Navarro, A., & Soler, M. D. M. (2018). Package survsim.

Examples

data(survreg_data)

vancak/NNTcalculator documentation built on April 7, 2022, 3:48 a.m.