Displaying 1 result from an estimated 1 matches for "exposumm".
2013 Jan 09
1
problem adding curve/abline
...auto.key=list(corner=c(0.1,0.9),lines=F,points=T))
Which works fine, the problem comes when I try to add 2 exponential curves
to the data (the 2 seizons). I tried this:
summ=subset(database,seizon=="summer")
modsumm=nls(summ$weight~exp(a+b*summ$size), data=summ, start=list(a=0,b=0))
exposumm=curve(exp(0.05354+0.19872*x), from=0, to=22, add=T, lwd=1,
col="blue",lty=1)
After having to add plot.new() in the front, the line does or not show up,
or shows up but wrongly placed. I thought this might be because of the
subset, so I wanted to do something like this:
modsumm=nls(weigh...