A vector the evaluated spline function with same length as x.
Arguments
object
the type of spline to be predicted ("b-spline", the default, or "tp-spline")
x
Vector of values at wich to predict the spline function.
knots, degree
knots and degree of the relational model.
keep.duplicates
Should duplicate interior knots be kept or removed. Defaults is FALSE, which removes
duplicate knots with a warning if duplicate interior knots are found.