Description Usage Arguments Details Value
Removes last time period from the data, and changes those patients that had event in this period. Useful in case that the last time period has not finished.
1 2 |
data |
Data to remove last time period. A data frame with variables inclusion, y, abandon and delta at least. Other variables won't be modified. |
period.length |
Length of each period. |
last.period |
Last period to take into account for the adjustment. |
varnames |
By default |
origin |
Passed to |
numeric |
Passed to |
Usually the calendar time partition does not match exactly with the current follow-up time of the RCT. In these cases, the last time period is shorter than the others and one solution is to ignore the data in this time period, removing those patients and correcting censores and events from others.
The same data frame but without the patients included in the last period of time (removed), and some modified delta's.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.