plot.psc.flexsurvreg {psc}R Documentation

Function for Plotting PSC objects

Description

Function for Plotting PSC objects

Usage

## S3 method for class 'psc.flexsurvreg'
plot(x, ...)

Arguments

x

an object of class 'psc'

...

not used

Details

making use of 'ggsurvplot' in the survminer package, this function plots the expected survival funtion for the 'control' treatment estimated from the CFM along with the Kaplan Meier estimates of the observed events

Value

a survival plot corresponding to the psc fit


[Package psc version 1.3.0 Index]