plot_est_cif {cmprskcoxmsm}R Documentation

ggplot method for cif_est objects

Description

This function produces a CIF plots for cif_est objects.

Usage

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.


[Package cmprskcoxmsm version 0.2.0 Index]