[R] 1st derivatives using gam.

From: Bill Shipley <bill.shipley_at_usherbrooke.ca>
Date: Sat 11 Jun 2005 - 05:44:19 EST

Hello. Using the smooth.spline function one can obtain the 1st derivatives by specifiying < deriv=1 > in the predict function (i.e. predict(fit,fit$x,deriv=1) where fit is the object created by smooth.spline).  

Can one obtain the first derivatives using gam() and predict.gam? If so, how?  

Bill Shipley  

        [[alternative HTML version deleted]]

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jun 11 05:50:32 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:30 EST