Displaying 1 result from an estimated 1 matches for "bspline3".
Did you mean:
bspline
2010 May 13
1
GAM, GAMM and numerical integration, help please
...cubic-b spline but I do not know how to
determine the equation for this spline nor how to integrate it/differentiate
it (to obtain plots similar to 3c & f in Chaloupka & Limpus (1997)).
What should I do next?
>size <- seq(100,600,along.with=fitted(m1))
>grw <- fitted(m1)
>bspline3 <- gam(grw~s(size, bs="cr", k=3))
>plot(grw~size,ylab="Growth (mm/yr)", xlab="Curved Carapace Length
(mm)") #figure attached
>lines(fitted(bspline3)~size, lwd=2)
Thank you very much for any help!
Claudia