Learn R Programming

heemod (version 1.0.2)

extract_strata: Extract Product-Limit Tables

Description

Extracts the product-limit table from a survfit object for all strata. Only survfit and unstratified survfit.coxph objects are supported.

Usage

extract_strata(sf)

Value

A tidy data.frame of the product-limit tables for all strata.

Arguments

sf

A survfit object.