R/geometricbootwrapper.R

Defines functions geometricbootwrapper

hystenv <- new.env()
hystenv$warningcountHysteresis <- 0
geometricbootwrapper <-
function(j,wr1,wr2,x.pred,y.pred,n,cbb,joint){
  tryCatch(geometricboot(j,wr1,wr2,x.pred,y.pred,n,cbb,joint),error=function (e) {
    hystenv$warningcountHysteresis <- hystenv$warningcountHysteresis + 1
    geometricbootwrapper(j,wr1,wr2,x.pred,y.pred,n,cbb,joint)
  })
      }

Try the hysteresis package in your browser

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

hysteresis documentation built on May 29, 2024, 5:27 a.m.