TabulateEvents: Tabulate Events

View source: R/RcppExports.R

TabulateEventsR Documentation

Tabulate Events

Description

Tabulate the number at risk and the number of events at each unique observation time.

Usage

TabulateEvents(status, time)

Arguments

status

Status, coded as 0 for censoring, 1 for an event, 2 for death.

time

Event time.

Value

Data.frame with the censorings, deaths, and events occurring at each distinct time point.


zrmacc/CICs documentation built on Nov. 6, 2024, 1:26 a.m.