[R] head.matrix() unintelligent

2010-10-19 Thread brbell01
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

Re: [R] head.matrix() unintelligent

2010-10-19 Thread Duncan Murdoch
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

Re: [R] head.matrix() unintelligent

2010-10-19 Thread Patrick Burns
You want the 'corner' function. It isn't (yet) in an R package but you can find it to 'source' it in near the bottom of the 'Public Domain Code' page of www.burns-stat.com Your case is precisely the reason that 'corner' came into being. On 19/10/2010 17:10, brbell01 wrote: Hi Just a simple