From danielho at stud.ntnu.no  Tue Nov 11 19:20:08 2008
From: danielho at stud.ntnu.no (=?ISO-8859-1?Q?Daniel_H=F8yer_Iversen?=)
Date: Tue, 11 Nov 2008 19:20:08 +0100
Subject: [Rd] is.matrix
Message-ID: <d8858f220811111020j233d4d98j502c0079ace644e7@mail.gmail.com>

a=c(1,1,2);
is.matrix(a) gives FALSE
is.matrix(t(a)) gives TRUE
is.matrix(t(t(a))) gives TRUE

Is this correct? Shouldn't all give FALSE?
I think is.matrix should give FALSE when dimension is 1*n or n*1.



[Rd] is.matrix
=?ISO-8859-1?Q?Daniel_H=F8yer_Iversen?=