Message-ID: <4316F0CD.8040904@statistik.uni-dortmund.de>
Date: 2005-09-01T12:15:09Z
From: Uwe Ligges
Subject: Newbie help on dim
In-Reply-To: <8D64D4652EB17048B874B0503309CFCA958FA3@epsilon2003.epsilonsgr.it>
Christian Prinoth wrote:
> Hi, if I do
>
> Z<-rnorm(50)
> Followed by
> Dim(Z)
> I get NULL. Is this correct? Shouldn't I get 50 instead?
No, because Z has no dim attribute. ?dim tells you:
"For an array (and hence in particular, for a matrix) dim retrieves the
dim attribute of the object. It is NULL or a vector of mode integer."
> TIA
> Chris
>
> DISCLAIMER:\ L'utilizzo non autorizzato del presente messagg...{{dropped}}
>
> ______________________________________________
> R-help at 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
Yes, PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
Uwe Ligges