search for: tp3050787p3050787

Displaying 1 result from an estimated 1 matches for "tp3050787p3050787".

2010 Nov 19
5
how to apply sample function to each row of a data frame?
...frame: M P Q 1 2 3 4 5 6 7 8 9 M, P, Q each represent a variable I want to draw 2 random sample from each row separately to create a new data frame. how can I do it? thanks!! -- View this message in context: http://r.789695.n4.nabble.com/how-to-apply-sample-function-to-each-row-of-a-data-frame-tp3050787p3050787.html Sent from the R help mailing list archive at Nabble.com.