Skip to content
Prev 176105 / 398503 Next

Help using smooth.spline with zoo object

Try this:

library(zoo)
library(lattice)
z <- as.zoo(EuStockMarkets)
xyplot(z) # original
xyplot(z, type = "smooth") # smooth

In zoo see ?xyplot.zoo and in lattice see ?panel.xyplot
On Sat, Apr 4, 2009 at 3:19 PM, Rob Denniker <bearmarketsrule at inbox.com> wrote: