[R] sample

T. Murlidharan Nair nair at sdsc.edu
Thu Feb 10 22:52:25 CET 2005


I am trying to sample a subset from a matrix using sample.
The size of the matrix is 20X 1532. It works fine with this,
but when I transpose the matrix and try to sample it, it returns
null.  
pick.set<-sample(tissue.exp.t,5,replace=FALSE,prob=NULL)

Is there something that I am missing here ?  
Thanks ../Murli




More information about the R-help mailing list