Re: [R] empty matrix

2010-05-10 Thread Ista Zahn
I think matrix(nrow=0, ncol=0) will do it. -Ista On Mon, May 10, 2010 at 7:15 AM, anderson nuel wrote: > Dear r-help, > > Could you help me to find the function which create an empty matrix. > > I use matrix(), but it gives *a single value that is NA and length of > this > matrix is 1.* > ** >

Re: [R] empty matrix

2010-05-10 Thread Duncan Murdoch
On 10/05/2010 7:15 AM, anderson nuel wrote: Dear r-help, Could you help me to find the function which create an empty matrix. I use matrix(), but it gives *a single value that is NA and length of this matrix is 1.* Not sure what you mean by an empty matrix, but here's one interpretation:

Re: [R] empty matrix

2010-05-10 Thread Uwe Ligges
On 10.05.2010 13:15, anderson nuel wrote: Dear r-help, Could you help me to find the function which create an empty matrix. Help is: ?matrix Uwe Ligges I use matrix(), but it gives *a single value that is NA and length of this matrix is 1.* ** *Best Regards* [[alternative HT