Re: [R] gls prediction using the correlation structure in nlme

2009-01-29 Thread Dr Carbon
On Wed, Jan 28, 2009 at 9:51 AM, Dr Carbon drcar...@gmail.com wrote: How does one coerce predict.gls to incorporate the fitted correlation structure from the gls object into predictions? In the example below the AR(1) process with phi=0.545 is not used with predict.gls. Is there another

[R] gls prediction using the correlation structure in nlme

2009-01-28 Thread Dr Carbon
How does one coerce predict.gls to incorporate the fitted correlation structure from the gls object into predictions? In the example below the AR(1) process with phi=0.545 is not used with predict.gls. Is there another function that does this? I'm going to want to fit a few dozen models varying in

[R] csaps in R port from Octave?

2008-09-11 Thread Dr Carbon
Since I'm getting no joy looking for an R implementation of the matlab function csaps, can anybody advise me on porting csaps from Octave? There is an octave implementation of csaps here: http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/nonfree/spline-gsvspl/inst/csaps.m This

[R] csaps in R?

2008-09-09 Thread Dr Carbon
Is there is function in R equivalent to Matlab's csaps? I need a spline function with the same calculation of the smoothing parameter in csaps to compare some results. AFAIK, the spar in smooth.spline is related but not the same. __ R-help@r-project.org