RE: [R] Matrix problems

2003-03-20 Thread Adaikalavan Ramasamy
nds to 185. Try length(mat1) and dim(mat1) and you will see that for length(), it coerces the object into a vector first. -Original Message- From: Mmarques INESC [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 7:49 PM To: R-help Mailing list. Subject: [R] Matrix problems Hi all

Re: [R] Matrix problems

2003-03-20 Thread Göran Broström
On Thu, 20 Mar 2003, Mmarques INESC wrote: > Hi all. > I do not know if it is a bug in the windows version but i have this > problem. > Reading a file with 20 rows, 2 columns and transforming into a > 20 x 2 matrix. > If I try to find an element by using the which command which gives > som

[R] Matrix problems

2003-03-20 Thread Mmarques INESC
Hi all. I do not know if it is a bug in the windows version but i have this problem. Reading a file with 20 rows, 2 columns and transforming into a 20 x 2 matrix. If I try to find an element by using the which command which gives some correct indexes plus some others passing the 20 row