Description Usage Arguments Value
Method to create SurvivalModel object with different spline models
1 2 3 4 5 | fitSplines(object, ...)
## S4 method for signature 'SurvivalModel'
fitSplines(object, k = 0:5, scale = c("hazard",
"odds", "normal")[1])
|
object |
|
... |
additional arguments for specific instances of this generic |
k |
(numeric vector) The number of knots to be used when fitting spline model (if k=c(2,3) then models will be fit with both 2 and 3 knots) |
scale |
(character) The scale arguement to be passed to flexsurvspline |
A SurvivalModel object with different spline model fits
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.