Skip to content
Prev 173860 / 398506 Next

Select a random subset of rows out of matrix

On Mar 16, 2009, at 10:34 AM, Haenlein.Michael wrote:

            
bigmatrix[ sample( 1:nrow(bigmatrix), 1000, replace=FALSE), ]
David Winsemius, MD
Heritage Laboratories
West Hartford, CT