Description Usage Arguments Value
View source: R/multi_surv_spline.R
Finds best spline suvreg fit
1 2 | multi_surv_spline(surv_data, time_col = "time", status_col = "status",
surv_formula = "~ 1", scale_list = "", knots = 3, ...)
|
knots: |
Number of knots. |
scale_list: |
A vector containing a list of scale arguments for |
status_col: |
Name of the column containing the status. |
surv_data: |
a |
surv_formula: |
a |
time_col: |
Name of the column containing the time. |
...: |
further arguments for |
The models are returned in the models
slot of the result, ordered by best fit. The slot erros
contains the fits that had erros. Adjust_table
contains the goodness of fit of the models. ff_table
contains the faulire frequency table. KM_fit
has the Kaplan-Meier fit.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.