R/unifres.fun.r

Defines functions unifres.fun

Documented in unifres.fun

unifres.fun <-
function(posEH)
{
expres <-  c(posEH[1], diff(posEH))
expres<-expres-0.99*min(expres)
unires <- exp( -expres)
dist0<-sum(expres==0)
if (dist0>0) cat("Number of   exponential residuals =0: ", dist0, fill = TRUE)
return(list(expres=expres, unires=unires, posEH=posEH))
}

Try the NHPoisson package in your browser

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

NHPoisson documentation built on Feb. 19, 2020, 5:07 p.m.