Skip to content

zooreg and lmrob problem (bug?)

2 messages · Víctor Homar Santaner, Gabor Grothendieck

#
One can't assume an arbitrary function necessarily works with zoo
objects although many do; however, for functions that are sufficiently
similar to lm, like lmrob, dyn in the dyn package can transform it to
work with zoo (as well as with ts and a number of other time series
classes). Just preface lmrob with dyn$ like this:

library(dyn)
mod1<-dyn$lmrob(as.zooreg(dad)~seq(58))
summary(mod1)
On Thu, Mar 12, 2009 at 6:13 AM, V?ctor Homar <victor.homar at uib.cat> wrote: