Fit a spline to smooth the relationship between a response and an x in a data.frame, optionally computing growth rates using derivatives.
response
x
data.frame
Useful links