On 12/23/2011 09:53 PM, Jim Lemon wrote:
CaribMatrix<-matrix(order(sample(200:500,579,TRUE),nrow=579,ncol=3)
Oops, that should be CaribMatrix<-matrix(sort(sample(200:500,579,TRUE),nrow=579,ncol=3) Jim ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.