plot.CPHshape: Plot a shape constrained MLE of a hazard function

Description Usage Arguments Details Author(s)

View source: R/plot.CPHshape.R

Description

plot method for class "CPHshape".

Usage

1
2
3
## S3 method for class 'CPHshape'
plot(x,  cex=0.5, xlim=range(x$h.range), ylim=range(x$h.val), 
xlab="", ylab="hazard function", ...)

Arguments

x

object of class "CPHshape" (typically output from either find.shapeMLE or find.shapeCPH).

cex

A numerical value giving the amount by which plotting text and symbols should be magnified relative to the default. In this setting, it changes the size of the dots representing continuity points of the hazard. Default is set to 0.5.

xlim

limits of the x axis in the plot. Defaults to full range of data.

ylim

limits of the y axis in the plot. Defaults to full range of the MLE.

xlab

a label for the x axis. Defaults to empty.

ylab

a label for the y axis. Default is set to "hazard function".

...

Aditional arguments

Details

For examples, see find.shapeMLE or find.shapeCPH.

Author(s)

Hanna Jankowski <hkj@mathstat.yorku.ca>


CPHshape documentation built on May 30, 2017, 4:32 a.m.