[R] R matrix help
John Kane
jrkrideau at inbox.com
Thu Jun 14 16:41:40 CEST 2012
Why would those figues (dim= 3X4, dim=5X4) be the dimensions? Could not they equally be 4X3 an 4X5 or am I completely misunderstanding the question?
John Kane
Kingston ON Canada
> -----Original Message-----
> From: karthick.lakshman at gmail.com
> Sent: Thu, 14 Jun 2012 05:51:24 -0700 (PDT)
> To: r-help at r-project.org
> Subject: [R] R matrix help
>
> Dear R experts,
>
> I am interested in getting the dimensions for the matrix dynamically,
> based
> on the the number of elements in a matrix for example. if the number is
> 12,
> I should get dim= 3X4, if it is 20, dim=5X4.
> please help me do this.
>
> Thank you
> Regards
> karthick
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/R-matrix-help-tp4633372.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
More information about the R-help
mailing list