Skip to contents

Function for Plotting PSC objects

Usage

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

Arguments

x

an object of class 'psc'

...

not used

Value

a survival plot corresponding to the psc fit

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