plot.cif: Plot the cumulative incidence function

View source: R/plot.CIF.R

plot.cifR Documentation

Plot the cumulative incidence function

Description

Plotting the cumulative incidence function for an object class cif.

Usage

## S3 method for class 'cif'
plot(x, xlab = "TIME",
  ylab = "CUMULATIVE INCIDENCE FUNCTION", main = NULL, xlim = NULL,
  ylim = NULL, type = "l", lty = 1, lwd = 1, lend = par("lend"),
  pch = NULL, col = NULL, legend = FALSE, ...)

Arguments

x

an object class cif.

xlab

a x-axis label. Default is "TIME".

ylab

a y-axis label. Default is "CUMULATIVE INCIDENCE FUNCTION".

main

a main label.

xlim

boundary for x values.

ylim

boundary for y values.

type

a type of plots from matplot.

lty, lwd, lend, pch, col

see matplot.

legend

a logical value: if TRUE, legend is created at the top-left corner of the plot.


joolee0918/AIPWsubtype documentation built on Feb. 29, 2024, 5:03 p.m.