TabulateCIC: Purpose: Cumulative incidence estimator. Updated: 2024-08-04...

View source: R/cumulative_incidence.R

TabulateCICR Documentation

Purpose: Cumulative incidence estimator. Updated: 2024-08-04 Tabulate Cumulative Incidence

Description

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

Usage

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

Arguments

data

Data.frame.

status_name

Name of status column.

time_name

Name of time column.

alpha

Type I error, for confidence intervals.

Value

Data.frame.


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