View source: R/get_steps_by_cond.R
get_steps_by_cond | R Documentation |
The get_steps_by_cond
function calculates steps data based on survival model results.
This utility function is used inside the do_kpm()
function of dropR
.
get_steps_by_cond(sfit, condition = NULL)
sfit |
An object representing survival model results (e.g., from a Kaplan-Meier model). |
condition |
Optional. An experimental condition to include in the output data frame, defaults to |
Returns a data frame containing the steps data, including time, survival estimates, upper confidence bounds, and lower confidence bounds.
do_kpm()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.