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)
           })
      }
spencerm89/hysteresis4 documentation built on March 1, 2024, 8:43 p.m.