Re: [R] Newbie help on dim

From: Andy Bunn <abunn_at_whrc.org>
Date: Thu 01 Sep 2005 - 22:11:51 EST


Check out the "dim vs length for vectors" thread:

http://finzi.psych.upenn.edu/R/Rhelp02a/archive/50720.html

This thread goes through the bug-or-feature discussion which is always entertaining from a socio-R perspective.

Also, note "Dim" with a capital D doesn't exist.

HTH, Andy

> -----Original Message-----
> From: r-help-bounces@stat.math.ethz.ch
> [mailto:r-help-bounces@stat.math.ethz.ch]On Behalf Of Christian Prinoth
> Sent: Thursday, September 01, 2005 8:01 AM
> To: r-help@stat.math.ethz.ch
> Subject: [R] Newbie help on dim
>
>
> Hi, if I do
>
> Z<-rnorm(50)
> Followed by
> Dim(Z)
> I get NULL. Is this correct? Shouldn't I get 50 instead?

>
> TIA
> Chris
>
> DISCLAIMER:\ L'utilizzo non autorizzato del presente messagg...{{dropped}}
>
> ______________________________________________
> 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
>



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 Thu Sep 01 22:21:34 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 16:10:23 EST