create_extrafields {psm3mkv} | R Documentation |
Create the additional time-to-event endpoints, adjusting for cutpoint
Description
Create the additional time-to-event endpoints, adjusting for cutpoint
Usage
create_extrafields(ds, cuttime = 0)
Arguments
ds |
Patient-level dataset |
cuttime |
Time cutpoint |
Value
Tibble of complete patient-level dataset, adjusted for cutpoint
ttp.durn
, pfs.durn
, ppd.durn
and os.durn
are the durations of TTP (time to progression), PFS (progression-free survival), PPD (pre-progression death) and OS (overall survival) respectively beyond the cutpoint.
pps.durn
is the duration of survival beyond progression, irrespective of the cutpoint.
pps.odurn
is the difference between ttp.durn
and os.durn
(which may be different to pps.durn
).
ttp.flag
, pfs.flag
, ppd.flag
, os.flag
, and pps.flag
are event flag indicators for TTP, PFS, PPD, OS and PPS respectively (1=event, 0=censoring).
Examples
bosonc <- create_dummydata("flexbosms")
create_extrafields(bosonc, cuttime=10)
[Package psm3mkv version 0.3.2 Index]