CICurves: Generate Cumulative Incidence Curves

View source: R/cumulative_incidence.R

CICurvesR Documentation

Generate Cumulative Incidence Curves

Description

Intended for data from a single sample. Status should be coded as 0 for censoring, 1 for the event of interest, and 2 for the competing risk (e.g. death).

Usage

CICurves(data, alpha = 0.05, status_name = "status", time_name = "time")

Arguments

data

Data.frame.

alpha

Type I error.

status_name

Name of status column.

time_name

Name of time column.

Value

OneSampleSurv object.


zrmacc/SurvUtils documentation built on Sept. 28, 2024, 8:43 a.m.