get_risk_table: Convert simulated survival data set into risk table format.

Description Usage Value

View source: R/get_risk_table.R

Description

get_risk_table Calculate risk table for a simulated two-arm survival data set.

Usage

1

Value

A risk table with columns: t the event times, in ascending order n_e the number of patients at risk on the experimental treatment arm just prior to t. n_c the number of patients at risk on the control treatment arm just prior to t. d_e the number of events on the experimental arm at time t. d_c the number of events on the control arm at time t. n = n_e + n_c. d = d_e + d_c. l = l_e + l_c. l_e the number of patients on the experimental treatment arm who censored after the current t but before the subsequent t.


dominicmagirr/modestWLRT documentation built on Sept. 16, 2020, 2:43 p.m.