On Nov 9, 2012, at 9:07 AM, rlcorp wrote: > I also would like to sort the values that are greater than 10 in one vector > and less than or equal to 10 in another vector. > x <- 1:20 x[x>10] x[x<=10] -- David Winsemius, MD Alameda, CA, USA