R/tr.R

Defines functions tr

tr <- function(X) {
  tra = sum(diag(X))
  return(tra)
}

Try the PERMANOVA package in your browser

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

PERMANOVA documentation built on Sept. 6, 2021, 5:07 p.m.