Skip to content
Prev 32385 / 398513 Next

extract half a matrix

> A[col(A)>row(A)]
[1]  4  7  8 10 11 12

This is described in Modern Applied Statistics with S (p. 43 of the 3rd 
edition;  I'm pretty sure I've seen it in the 4th edition, but I don't 
have that handy just now.)

hth.  spencer graves
Tord Snall wrote: