Plot a repeated-events VPC
Description
Draws the curves of a repeated-events (RTTE) VPC from [ferx_vpc_tte](ferx_vpc_tte.qmd), each observed curve over its replicate band: the mean cumulative function, and the Kaplan-Meier curves by event order on absolute and on gap time. One panel per stratum and curve, with base graphics. The band is a step ribbon: the band at grid time t[k] holds until t[k + 1].
Usage
# S3 method for ferx_vpc_rtte
plot(x, y = NULL, which = c("mcf", "absolute", "gap"), orders = NULL, ...)Arguments
x: Aferx_vpc_rtteobject.y: Unused.which: Which families to draw: any of"mcf"(mean cumulative function),"absolute"(time to the \(k\)-th event) and"gap"(time from the \((k-1)\)-th event to the \(k\)-th).orders: The event orders to draw for"absolute"and"gap";NULL(default) for every order returned....: Passed tographics::plot().
Value
x, invisibly.
Examples
# See ferx_vpc_tte() for building an RTTE VPC; then
# plot(rv, which = "mcf")
# plot(rv, which = "gap", orders = 2:3)