Re: [R] Row and Col length of a matrix?

From: Jorge Ivan Velez <jorgeivanvelez_at_gmail.com>
Date: Tue, 17 Jun 2008 16:54:12 -0400

See ?dim

HTH, Jorge

On Tue, Jun 17, 2008 at 4:50 PM, MeMooMeM <mbelgin_at_gmail.com> wrote:

>
> Hi,
>
> Is there a direct command to get the row and col length of a matrix?
>
> My ugly solution is: length(mtx[,1]) and length(bcf[1,])
>
> Thanks!
>
> --
> View this message in context:
> http://www.nabble.com/Row-and-Col-length-of-a-matrix--tp17936978p17936978.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.
>

        [[alternative HTML version deleted]]



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. Received on Tue 17 Jun 2008 - 21:17:04 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 17 Jun 2008 - 21:31:35 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive