Message-ID: <4B46FB7EED800046A5952FCFA92D3BA0347DF578D9@HGUMAIL6.hgu.gu.se>
Date: 2011-12-07T09:24:11Z
From: Mintewab Bezabih
Subject: curve fitted ... how to retreive data
Dear R users,
I have now managed to fit the curve using the thin plate spline as follows:
library(mgcv)
b <- gam(y~s(x1,x2,k=100),data =dat)
vis.gam(b)
What I want now is to get the fitted data for y and copy it so that I use it for further analysis.
Many thanks in advance
mintewab