[R] Question how to get up triangle of a matrix

markleeds at verizon.net markleeds at verizon.net
Thu Dec 20 20:39:40 CET 2007


>From: Waverley <waverley.paloalto at gmail.com>
>Date: 2007/12/20 Thu PM 01:29:04 CST
>To: r-help at stat.math.ethz.ch
>Subject: [R] Question how to get up triangle of a matrix

?upper.tri

>Is there a simple way to get up triangle of a matrix and return as a vector?
>
>Thanks much.
>
>-- 
>Waverley @ Palo Alto
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list