Output a plot showing the lag between censoring and the date the analysis is being performed
1 2 3 4 5 | DiagnosticPlot(object, ...)
## S4 method for signature 'EventData'
DiagnosticPlot(object, window.size = NULL,
analysis.date = NULL, separate.events = TRUE)
|
object |
An |
... |
Additional arguments for the function |
window.size |
An optional integer. If used an additional 2 lines at y=x-window.size
and y = x-2*window.size are drawn on the graph. If |
analysis.date |
The date the analysis is being perfomed on, by default (i.e. when NULL) it is the the latest date at which any subject is censored/is known to have had an event |
separate.events |
Logical, if FALSE then all events are coloured the same with label "Had Event", if TRUE then the different event types (object@subject.data$event.type) are coloured individually. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.