Displaying 1 result from an estimated 1 matches for "cflux".
Did you mean:
flux
2010 Mar 02
0
plotting fitted lme values as a smooth line
...and not smooth.
Here is the code I used:
lme.1<-lme(fixed=LnFlux~Temp, random=~1|Plt, data=resp)
fit.1<-exp(fitted(lme.1))
plot(Flux$Temp, Flux$Flux, xlab="Temperature",
ylab=expression("CO"[2]*"Flux"), xlim=c(-10, 25), ylim=c(0,250), pch=16)
ord1<-order(CFlux$Temp)
lines(CFlux$TempC[ord1], fit.1[ord1], lty=1, lwd=2)
This does not produce a straight line, but a jagged one that moves up
and down between points.
If I use fitted values from a simple linear model (lm), I don't have
this problem, and the line is smooth:
lm.1<-lm(LnFlux~Temp, da...