extract_atrisk: extract_atrisk

View source: R/event_time_desp.R

extract_atriskR Documentation

extract_atrisk

Description

extract_atrisk

Usage

extract_atrisk(fit, time.list, time.scale = 1)

Arguments

fit

a survfit object

time.list

a numeric vector specifying the time points at which the number of at-risk subjects is calculated.

Details

The function creates a dataframe containing the number of at risk patients at time-, overall or by strata

Value

A dataframe containing the number of at risk patients at time-, overall or by strata


fanstev1/fanetc documentation built on April 17, 2025, 10:58 a.m.