[R] Cubic B-spline, how to numerically integrate?
dwinsemius at comcast.net
Fri May 14 17:57:54 CEST 2010
On May 14, 2010, at 11:41 AM, Claudia Penaloza wrote:
> (corrected version of previous posting)
> I fit a GAM to turtle growth data following methods in Limpus &
> 1997 (http://www.int-res.com/articles/meps/149/m149p023.pdf).
> I want to obtain figures similar to Fig 3 c & f in Limpus & Chaloupka
> (1997), which according to the figure legend are "expected size-at-age
> functions" obtained by numerically integrating "size-specific growth
> functions derived using cubic B-spline fit to GAM predicted values".
> I was able to fit the cubic-B spline, but I do not know how to
> integrate" it.
You need to give us the function and the appropriate limits of
> Can anybody help please?
> Code and figures here:
> Thank you,
David Winsemius, MD
West Hartford, CT
More information about the R-help