Description Usage Arguments Details See Also

Generate the design matrix of spline basis for non proportional effect.

1 2 3 4 5 6 7 8 9 10 |

`x` |
the predictor variable. |

`timevar` |
the time variable. |

`Spline` |
a character string specifying the type of spline basis. "b-spline" for B-spline basis, "tp-spline" for truncated power basis and "tpi-spline" for monotone (increasing) truncated power basis. |

`Knots.t` |
the internal breakpoints that define the spline used to estimate the NPH effect. By default there are none. |

`Degree.t` |
degree of splines which are considered. |

`Intercept.t` |
a logical value indicating whether intercept/first basis of spline should be considered. |

`Boundary.knots.t` |
range of time period which is analysed. By default it is |

`Keep.duplicates.t` |
Should duplicate interior knots be kept or removed. Defaults is |

`outer.ok` |
logical indicating how are managed |

`...` |
not used |

`NPH`

is based on package `orthogonalsplinebasis`

flexrsurv documentation built on May 29, 2017, 1:05 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.