getSplineKnotLocations: Given a SurvivalModel object, output a data frame containing...

Description Usage Arguments

View source: R/splineFit.R

Description

Given a SurvivalModel object, output a data frame containing the knot locations (NOT on log-scale) of the given model name

Usage

1
2
getSplineKnotLocations(object, k, scale, class = c("data.frame",
  "FlexTable")[2], digits = 5)

Arguments

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"


scientific-computing-solutions/sibyl documentation built on May 21, 2019, 8:40 a.m.