R/align.R

Defines functions align

Documented in align

align <- function(pVec, eps=0.003) {
	delta <- pVec*eps
	nbhd <- cbind(pVec - delta, pVec + delta)
	cliqs <- Maclist(nbhd)
	intvls <- MLEintvl(nbhd, ml = cliqs)
	rowMeans(intvls)
}

Try the PROcess package in your browser

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

PROcess documentation built on Nov. 8, 2020, 5:44 p.m.