Trim the data according to event number or time
1 2 3
Time of interest to pause/stop the study, which could be an interim stage or the final stage.
There are two possible structures allowed for this input data. The first type needs to have
Whether this data has been trimmed by
Event counts to pause/stop the study.
data.trim is to trim the data upto
data.trim.d is to trim the data upto the cound
data.trim only outputs a data.table odered by
ct, the event/censoring time since the start of the study (calendar scale), including variables in the input data.table/frame
data, and additional/updated variables of event indicator
ct, follow-up time
survival since the enrollment.
data.trim.d outpus a list of two components. The first component is the data censored with
d events have been observed, ordered by
ct, the event/censoring time since the start of the study (calendar scale). The second component is the time of the stopping point when
d events have been observed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.