Learn R Programming

DPWeibull (version 1.8)

plot.ddpcomp: plot estimated log subdistribution hazard ratio functions for cause 1 from an object of class ddpcomp.

Description

plot estimated log subdistribution hazard ratio functions with credible intervals for cause 1 from an object of class ddpcomp.

Usage

# S3 method for ddpcomp
plot(x,simultaneous=FALSE,exp=FALSE,...)

Arguments

x

Output an object of class ddpcomp

simultaneous

Plot simultaneous credible intervals or not. The default is FALSE.

exp

Plot hazard ratio (TRUE) or log hazard ratio (FALSE). The default is FALSE.

...

Arguments to be passed to method

Value

plot estimated log subdistribution hazard ratio functions for cause 1 from an object of class ddpcomp.