get_steps_by_cond: Get Steps Data by Condition

View source: R/utils.R

get_steps_by_condR Documentation

Get Steps Data by Condition

Description

The 'get_steps_by_cond' function calculates steps data based on survival model results.

Usage

get_steps_by_cond(sfit, condition = NULL)

Arguments

sfit

An object representing survival model results (e.g., from a Cox proportional hazards model).

condition

Optional. A condition or group label to include in the output data frame.

Value

A data frame containing the steps data, including time, survival estimates, upper confidence bounds, and lower confidence bounds.


mbannert/dropR documentation built on March 28, 2024, 2:12 p.m.