T. Murlidharan Nair wrote:
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
Yes: tissue.exp.t is not a matrix.
Check it with, e.g., str().
Uwe Ligges
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html