Skip to contents

Plot Method for an 'alife' Object

Usage

# S3 method for class 'alife'
plot(x, ci_level = 0.95, color = 2, col_line = 1, ...)

Arguments

x

An object of class alife. Typically the output of the estimate_hazard function.

ci_level

A numeric vector of confidence ci_level to plot (e.g., c(0.5, 0.95)). Defaults to 0.95.

color

The color for the confidence interval polygon.

col_line

The color for the hazard rate line.

...

Additional arguments passed to the base plot function (e.g., main, xlab, ylab, ylim).

Value

A plot of the hazard rate.