[R] quesion on diag of matrix

Jean Eid jeaneid at chass.utoronto.ca
Tue Feb 24 02:59:49 CET 2004


sum(diag(X))

On Mon, 23 Feb 2004, li xian wrote:

> How to get the sum of the diag of matrix?
> Thanks!
>
>
> ---------------------------------
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list