[R] head.matrix() unintelligent
Duncan Murdoch
murdoch.duncan at gmail.com
Tue Oct 19 18:47:39 CEST 2010
On 19/10/2010 12:10 PM, brbell01 wrote:
> Hi Just a simple question really. I´ve got these large 2d matrices that I´d
> like to inspect, but not from start to finish. The head() command is
> convenient when columns are few. For large nxn matrices, however, head() and
> head.matrix() are still cumbersome. Is there a simple way of viewing both
> the columnwise and rowwise heads of a matrix?
i <- 1:5
M[i,i]
Duncan Murdoch
More information about the R-help
mailing list