Displaying 1 result from an estimated 1 matches for "box48".
Did you mean:
box4
2008 Jul 03
1
lines() warning message
...966,22271,870,0.3452
1967,8736,1104,0.27511
1968,8761,883,0.10884
1969,18885,1421,0.17799
1970,10098,1198,0.2106
1971,3394,760,0.22098
1972,1697,1354,0.39461
1973,25159,1308,0.19696
[truncated]
with program
#Ricker Curve
mod2=nls(Recruit~(Spawner*exp((delta+echo*Spawner)+(foxtrot*Mtempcv))), data=box48,
start=list(delta=4, echo=0, foxtrot=-7), trace=TRUE)
plot(Recruit~Spawner, data=box48, pch=19)
mod2a=seq(369, 3000)
lines(mod2a, predict(mod2, list(Spawner=mod2a)), col="red", lty=2)
R has no problem finding a solution to the nls() model (only 7 iterations are needed), but when I tr...