On Mon, Nov 22, 2010 at 1:35 PM, Manta <mantin...@libero.it> wrote: > > And how about if I want to order the series from the smallest to the largest > value, keeping the date index in order to see when the values were > predominantly negative etc... >
If you just want to look at it in this order then: as.data.frame(dat)[length(dat):1,,drop = FALSE] -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com ______________________________________________ R-help@r-project.org 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.