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. -- View this message in context: http://r.789695.n4.nabble.com/Running-a-loop-of-random-generated-sums-tp4649013p4649070.html Sent from the R help mailing list archive at Nabble.com.
Running a loop of random generated sums
2 messages · rlcorp, David Winsemius
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