Question: fmOrange = nls(circumference ~ Hmax/(1+exp(-r*(age-tmid))), + start= c(Hmax=220, tmid = 100,r=0.2), + data = Orange, + trace = TRUE) Error in nlsModel(formula, mf, start, wts,
fmOrange = nls(circumference ~ Hmax/(1+exp(-r*(age-tmid))), + start= c(Hmax=220, tmid = 100,r=0.2), + data = Orange, + trace = TRUE) Error in nlsModel(formula, mf, start, wts, scaleOffset = scOff, nDcentral = nDcntr) : singular gradient matrix at initial parameter estimates
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
