Learn R Programming

spef (version 1.0.9)

plot.PanelSurv: Produce Tile Plot

Description

Plot the tile plot from a PanelSurv object.

Usage

# S3 method for PanelSurv
plot(x, heat = FALSE, order = TRUE, ...)

Arguments

x

an object of class PanelSurv.

heat

an optional logical value indicating whether a swimmer-plot-like tile plot will be produced.

order

an optional logical value indicating whether the tile plot will be sorted by the largest observationt time.

...

future extension

Value

A ggplot object