Is there a simple way to get up triangle of a matrix and return as a vector? Thanks much. -- Waverley @ Palo Alto
markleeds at verizon.net
2007-Dec-20 19:39 UTC
[R] Question how to get up triangle of a matrix
>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.