risk.table-methods: Calculate KM risk.table

Description Usage Arguments Value

Description

Calculate KM risk.table

Usage

1
2
3
4
risk.table(x, ...)

## S4 method for signature 'EventModel'
risk.table(x, units = "Days", risk.times = NULL, ...)

Arguments

x

An EventModel object

...

Additional arguments to pass to survfit

units

Scale for the risk table: "Days", "Months" or "Years"

risk.times

The times for the risk table (in units). If NULL then the 0, 0.25,0.5,0.75,1 quantiles of the KM survival table are used

Value

A data frame contianing the number at risk at the given times


scientific-computing-solutions/eventPrediction documentation built on May 29, 2019, 3:44 p.m.