at_risk: at risk counter

View source: R/survfit_it.R

at_riskR Documentation

at risk counter

Description

count individuals at risk and (cumulative) events at given time points

Usage

at_risk(x, tp = NULL, tidy = FALSE)

Arguments

x

an object created by survfit_it or equivalent

tp

timepoints wanted

tidy

output in tidy format (default FALSE)

Value

a data frame


renlund/datma documentation built on June 2, 2025, 5:12 a.m.