Given a SurvivalModel object, output a data frame containing the knot locations (NOT on log-scale) of the given model name
1 2 | getSplineKnotLocations(object, k, scale, class = c("data.frame",
"FlexTable")[2], digits = 5)
|
object |
(SurvivalModel) Survival model containing the models fit |
k |
(numeric) The number of knots of the spline model whose knot locations are required |
scale |
("hazard", "odds", or "normal") The scale argument of the spline model whose knots are required |
class |
("data.frame" or "FlexTable") whether to output the table as a data.frame or FlexTable |
digits |
(numeric) The number of digits to round the locations when class="FlexTable" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.