OneSampleCIC: One Sample Cumulative Incidence Curve

View source: R/one_sample.R

OneSampleCICR Documentation

One Sample Cumulative Incidence Curve

Description

For calculating cumulative incidence in the presence in the presence of a competing risk, status is assumed to have values of 0 for censoring, 1 for the event of interest, and 2 for the competing risk.

Usage

OneSampleCIC(
  data,
  tau = NULL,
  alpha = 0.05,
  status_name = "status",
  time_name = "time"
)

Arguments

data

Data.frame.

tau

Truncation time.

alpha

Type I error.

status_name

Name of status column.

time_name

Name of time column.

Value

Data.frame.


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