plot_est_cif: ggplot method for cif_est objects

Description Usage Arguments Value

View source: R/cif_est.R

Description

This function produces a CIF plots for cif_est objects.

Usage

1
plot_est_cif(cif.data, color = color, ci.cif = FALSE)

Arguments

cif.data

The dataset, output of cif_est

color

Color for control and treatment group, has to be a vector of length 2.

ci.cif

Indicator whether to plot the 95% confidence interval area for the CIF.

Value

A cumulative incidence function plot (with 95% confidence interval area) corresponding to the output from cif_est.


cmprskcoxmsm documentation built on Sept. 5, 2021, 5:10 p.m.