| bladder_prep | R Documentation |
Prepares the bladder1 dataset from the survival package for
use with wnpmle_fit. Subjects randomised to pyridoxine are
excluded (only placebo and thiotepa arms are retained). Status codes are
recoded to 0 (censored), 1 (recurrent tumour), 2 (terminal/dropout), and
event times beyond tau are truncated to tau.
bladder_prep(tau = 59)
tau |
Follow-up truncation time (default: 59 months). Event times
beyond |
The bladder cancer trial (Veterans Administration Cooperative Urological
Research Group) randomised patients to placebo, pyridoxine, or thiotepa.
Only the placebo and thiotepa arms are used here (pyridoxine arm excluded).
Subjects with event times equal to tau and status 0 have their
times truncated to tau, consistent with administrative censoring.
A data frame with columns:
id |
Subject identifier (integer). |
status |
Event status: 0 = censored, 1 = recurrent event, 2 = terminal event. |
status0 |
Indicator: 1 if censored. |
status1 |
Indicator: 1 if recurrent event. |
status2 |
Indicator: 1 if terminal event. |
time |
Event time (months). |
treat |
Treatment indicator: 1 = thiotepa, 0 = placebo. |
num |
Initial number of tumours. |
size |
Initial tumour size (cm). |
Byar, D.P. (1980). The Veterans Administration study of chemoprophylaxis for recurrent stage I bladder tumors. In Bladder Tumors and Other Topics in Urological Oncology, 363-370. Plenum, New York.
bdata <- bladder_prep(tau = 59)
head(bdata)
table(bdata$status)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.