R/nlsbootwrapper.R

Defines functions nlsbootwrapper

nlsbootwrapper <-
function(j,wr1,wr2,x.pred,y.pred,n,cbb,joint){
          tryCatch(nlsboot(j,wr1,wr2,x.pred,y.pred,n,cbb,joint),error=function (e) {
           hystenv$warningcountHysteresis <- hystenv$warningcountHysteresis + 1
            nlsbootwrapper(j=NULL,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 15, 2021, 1:09 a.m.