tve {JMbayes}R Documentation

Time-Varying Effects using P-splines

Description

A B-spline expansion of the input variables to be used for a time-varying effect in the specification of joint model.

Usage

tve(x, df = NULL, knots = NULL, ord = 3)

Arguments

x

a numeric input variable.

df

integer denoting the degrees of freedom.

knots

a numeric vector of knots.

ord

an integer denoting the order of the spline.

Value

an object of class tve.

Author(s)

Dimitris Rizopoulos d.rizopoulos@erasmusmc.nl


[Package JMbayes version 0.8-85 Index]