[R] matlab-like constant matrix initialization?

From: Michael <comtech.usa_at_gmail.com>
Date: Mon 30 Jan 2006 - 19:24:57 EST


Hi all,

Suppose I have the following matrix which is a constant matrix I've copied from some other document:

1.2  3.4 1.4 ...
2.3  3.7 2.6 ...
...

How do I make it into a matrix or array in R?

What is the fastest way of initializing a constant matrix with this copy/pasted values?

Thanks a lot!

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Jan 30 19:33:48 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:14 EST