DiagnosticPlot-methods: Output a plot showing the lag between censoring and the date...

Description Usage Arguments

Description

Output a plot showing the lag between censoring and the date the analysis is being performed

Usage

1
2
3
4
5
DiagnosticPlot(object, ...)

## S4 method for signature 'EventData'
DiagnosticPlot(object, window.size = NULL,
  analysis.date = NULL, separate.events = TRUE)

Arguments

object

An EventData object

...

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 window.size is chosen to be the visit schedule (in days) then these lines provide an easy way to determine the number of subjects who have missed one or two visits.

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.


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