Learn R Programming

DPWeibull (version 1.8)

plot.ddp: plot estimated log hazard ratio functions from an object of class ddp.

Description

plot estimated log hazard ratio functions with credible intervals from an object of class ddp.

Usage

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

Arguments

x

Output an object of class ddp

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 hazard ratio functions from an object of class ddp.