plot.crude: Plot crude event probabilities

View source: R/plot.crude.R

plot.crudeR Documentation

Plot crude event probabilities

Description

Plot function for the computed crude event probabilties.

Usage

## S3 method for class 'crude'
plot(x, ylim = c(0, 1), xlim = NULL, ci = T, col = 1,
        ylab = NULL, xlab = "Time", add = F, ...)

Arguments

x

Object of class crude in which crude probabilities are stored.

ylim

Limits of y-axis.

xlim

Limits of x-axis.

ci

Logical. If TRUE (default), confidence intervals are added to the plot.

col

Colour of each curve.

ylab

Label of the y-axis. If NULL, the function uses its default labels depending on object$type.

xlab

Label of the x-axis (default is "Time").

add

Logical indicating wether the cruves should be added to the current plot window (default is FALSE).

...

Further arguments passed to plot and lines.


LasseHjort/cuRe documentation built on July 6, 2023, 1:08 p.m.