Like tris:

NCols=5
NRows=7

myMat<-matrix(runif(NCols*NRows), ncol=NCols)
myMat

bests

milton



On Mon, Aug 24, 2009 at 6:17 PM, Peng Yu <pengyu...@gmail.com> wrote:

> Hi,
>
> I did a search but I was able to find how to generate a random matrix.
> Can somebody let me know how to do it?
>
> Regards,
> Peng
>
> ______________________________________________
> 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<http://www.r-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to