[R] Row and Col length of a matrix?

From: MeMooMeM <mbelgin_at_gmail.com>
Date: Tue, 17 Jun 2008 13:50:24 -0700 (PDT)


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,])


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
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:36:01 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 - 22:30:42 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