R/avespecvar.R

Defines functions avespecvar

Documented in avespecvar

avespecvar <-function (spectrum) {

m <- spectrum$S
m <- matrix(m,nrow=dim(m)[1])

statistic<-mean(rowVars(m))

return(statistic)

}

Try the LS2Wstat package in your browser

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

LS2Wstat documentation built on July 19, 2018, 9:02 a.m.