get_steps_by_cond | R Documentation |
The 'get_steps_by_cond' function calculates steps data based on survival model results.
get_steps_by_cond(sfit, condition = NULL)
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. |
A data frame containing the steps data, including time, survival estimates, upper confidence bounds, and lower confidence bounds.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.