extract_strata: Extract Product-Limit Tables

View source: R/surv_survfit.r

extract_strataR Documentation

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)

Arguments

sf

A survit object.

Value

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


PolicyAnalysisInc/herosurv documentation built on May 21, 2023, 10:12 a.m.