R/tr.R

Defines functions tr

Documented in tr

tr <-
function(M) return(sum(diag(M)))

Try the lmreg package in your browser

Any scripts or data that you put into this service are public.

lmreg documentation built on May 2, 2019, 9:29 a.m.