LongLagSettings: Constructor for 'LongLagSettings' object

Description Usage Arguments Value

Description

Constructor for LongLagSettings object

Usage

1
2
LongLagSettings(analysis.date = as.Date(NA), ndays, toWithdraw,
  visitschedule = 0)

Arguments

analysis.date

The date the event prediction is performed on. If as.Date(NA) then the latest censor/event date from the data set will be used as the analysis.date

ndays

All subjects who were censored more than ndays before analysis.date will be changed

toWithdraw

Logical. If TRUE then the selected subjects will be withdrawn rather than be censored. If FALSE, their censor date is replaced by analysis.date

visitschedule

number of days between visits for pfs data. If non-zero and toWithdraw is TRUE then the selectedsubjects are censored on the date their latest visit would have been. See vignette for further details

Value

A LongLagSettings object


scientific-computing-solutions/eventPrediction documentation built on May 29, 2019, 3:44 p.m.