at_risk: at risk counter

Description Usage Arguments Value

View source: R/survfit_it.R

Description

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

Usage

1
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/dm documentation built on Jan. 18, 2022, 9:50 a.m.