[R] extrat non diagonal

S Ellison S@Elli@on @ending from LGCGroup@com
Wed Nov 14 17:05:24 CET 2018


> With your code you just remove diagonal elements from your matrix. 
Worse; it removed _all_ elements from the matrix that match _anything_ in the diagonal!
Which, in that example, was everything ...




*******************************************************************
This email and any attachments are confidential. Any use, copying or
disclosure other than by the intended recipient is unauthorised. If 
you have received this message in error, please notify the sender 
immediately via +44(0)20 8943 7000 or notify postmaster using lgcgroup.com 
and delete this message and any copies from your computer and network. 
LGC Limited. Registered in England 2991879. 
Registered office: Queens Road, Teddington, Middlesex, TW11 0LY, UK


More information about the R-help mailing list