Fit smoothing unit spline to one curve
unit.spline(x, y, df = 3)
x
numeric vector
y
vector of same length as y