Hi,
 
I'm completely new to R and am struggling with producing residuals from a lowess curve.  I have looked at the pdf help pages and searched online and have tried the following code:
 
> l.agebl <- lines(lowess(agebl, f=.5))
> resid(l.agebl)
> resid(lowess(agebl, f=.5))
NULL
> residuals(lowess(agebl, f=.5))
NULL
 
AND
 
> r<-bl[order(age)]-lowess(agebl)$bl
> r
numeric(0)
> l<-lowess(agebl)
> r<-bl[order(age)]-l$bl
> r
numeric(0)

AND
 
> r<-residuals(lowess(bl~age))
> r
NULL

with no luck.  Does anyone have any coding suggestions?
 
Jo


	[[alternative HTML version deleted]]

