powered by
A B-spline expansion of the input variables to be used for a time-varying effect in the specification of joint model.
tve(x, df = NULL, knots = NULL, ord = 3)
a numeric input variable.
integer denoting the degrees of freedom.
a numeric vector of knots.
an integer denoting the order of the spline.
an object of class tve.
tve
# NOT RUN { x <- rnorm(10) tve(x, df = 4) # }
Run the code above in your browser using DataLab