R/inner.prod.max.p.R

Defines functions inner.prod.max.p

Documented in inner.prod.max.p

inner.prod.max.p <-
function(x, p = 0.8) {
ipi <- inner.prod.iter(x)
n <- length(ipi)
pip <- ipi[(1+floor((1-p)*n)):ceiling(p*n)]
return(med(which(abs(pip) == max(abs(pip))))+floor((1-p)*n))
}

Try the unbalhaar package in your browser

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

unbalhaar documentation built on April 19, 2022, 5:05 p.m.