tve: Time-Varying Effects using P-splines

Description Usage Arguments Value Author(s)

Description

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

Usage

1
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


JMbayes documentation built on Jan. 9, 2020, 9:07 a.m.