search for: revsort

Displaying 4 results from an estimated 4 matches for "revsort".

Did you mean: resort
2012 Jul 20
1
conditional subset and reorder dataframe rows
...r.Strand = rep('+', 6), Chr.From = c(155062277, 155062304, 155062305, 155062309, 155062326, 155062531), Probe.X = c(428, 1681, 2058, 1570, 1293, 2125), Probe.Y = c(1484, 2090, 893, 1082, 1435, 1008)) mapping <- rbind (negStrandGene, posStrandGene) # define a function to do what we want revSort <- function(df){   if (unique(df$Chr.Strand == '-'))   return (df[order(df$Chr.From), ])   else return (df) } # split the data with plyr, apply the function and recombine test2 <- ddply(mapping, .(Probe.Set.Name), function(df) revSort(df)) # ok, cool works So here the rows with...
2003 Dec 14
5
reverse lexicographic order
Hi all, I have some email addresses that I would like to sort in reverse lexicographic order so that addresses from the same domain will be grouped together. How might that be done? Murray -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato, Hamilton, New Zealand Email: maj at waikato.ac.nz
1999 Jul 07
1
Bug on sample (PR#219)
Full_Name: Jose M. Perez Version: 0.64.2 OS: Linux/x86 Submission from: (NULL) (159.90.200.68) sample(1,1,prob=c(1)) Causes a core dump. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the
2005 Sep 15
10
Can I use printa() for printing multiple agg regations?
Hi Bryan, > Does that sit well with everyone? Seems fine to me. Just revisiting one of Dragan''s points, though (sorry if I missed the answer) - is there a reason for making this global (via a #pragma) rather than, say, simply providing two functions which print in the different orders? e.g. printa() for sort by sample, printak() for sort by key. My reason for wanting to do both in