plot.baseline {surtvep}R Documentation

plotting the baseline hazard

Description

Plotting the baseline hazard from a fitted baseline object.

Usage

## S3 method for class 'baseline'
plot(x, xlab, ylab, xlim, ylim, title, ...)

Arguments

x

fitted object from baseline function.

xlab

the title for the x axis.

ylab

the title for the y axis.

xlim

the limits of the x axis.

ylim

the limits of the y axis.

title

the title for the plot.

...

other graphical parameters to plot

Value

A plot is produced, and nothing is returned.

Examples

data(ExampleData)
z <- ExampleData$z
time  <- ExampleData$time
event <- ExampleData$event

fit   <- coxtv(event = event, z = z, time = time)
base.est <- baseline(fit)
plot(base.est)

[Package surtvep version 1.0.0 Index]