[R] Array Manipulation

Eric Rodriguez thewavyx at gmail.com
Thu Jan 27 23:46:41 CET 2005


and something like that:

dat[dat$ID == sample(unique(dat$ID), 3), 2]   ?

I'm not sure about the ",2" maybe you need the full matrix ?


ps: first time, i forgot the list




More information about the R-help mailing list