R/aspectSum.R

Defines functions aspectSum

#sum of the r^pow elements of the correlation matrix 

aspectSum<-function(r,pow = 1) {
m<-dim(r)[1]
list(f=sum(r^pow),g=pow*r^(pow-1))
}

Try the aspect package in your browser

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

aspect documentation built on May 6, 2022, 9:06 a.m.