R/trace.R

Defines functions trace

trace = function(mat){
  return(sum(diag(mat)))
}

Try the autoSEM package in your browser

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

autoSEM documentation built on May 29, 2017, 7:18 p.m.