[R] How to select randomly from a matrix?
WXE83
ayuazwal at yahoo.com
Mon Mar 9 11:29:41 CET 2009
Dear all,
I got one problem here and hoping someone can help me on this. Say I have a
50 by 2 matrix and I don't know how to randomly select:
1. a pair of observations from the last 10th of the 50 observation from the
matrix.
2. how to select randomly an observation from the first 5 observations of
the second column in the matrix?
Thanks....hope to hear from someone soon
--
View this message in context: http://www.nabble.com/How-to-select-randomly-from-a-matrix--tp22410551p22410551.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list