To display that object in reverse time order try this: as.data.frame(Data)[nrow(Data):1, ]
On Thu, Jul 9, 2009 at 5:21 AM, Sergey Goriatchev<[email protected]> wrote: > Hello everyone, > > Say I have zoo object > > x.Date <- as.Date("2003-02-01") + c(1, 3, 7, 9, 14) - 1 > x <- zoo(rnorm(5), x.Date) > y <- zoo(rt(5, df=2), x.Date) > z <- zoo(rt(5, df=5), x.Date) > > Data <- merge(x,y,z) > > What should I do to make the latest values appear at the top? > > Thank you for your help! > > Regards, > Sergey > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

