Re: [R] loess line predicting number where the line crosses zero twice

2010-07-16 Thread Gavin Simpson
On Fri, 2010-07-16 at 14:25 +1200, Peter Alspach wrote: > Tena koe Stephen > > You'll need to use loess(w[,"bkf_depths"]~w[,"measure"])) and predict > with a sufficiently dense sequence of w[,'measure'] to interpolate to > an 'accuracy' that meets your requirements. Actually, if I understand > yo

Re: [R] loess line predicting number where the line crosses zero twice

2010-07-15 Thread Peter Alspach
Tena koe Stephen You'll need to use loess(w[,"bkf_depths"]~w[,"measure"])) and predict with a sufficiently dense sequence of w[,'measure'] to interpolate to an 'accuracy' that meets your requirements. Actually, if I understand your data correctly, it could be that simple linear interpolation (