Better fits for a linear model
问题 I am fitting some lines and I feel like I am telling R exactly how to fit them, but I feel like there is something (some factor or effect) I am unaware of that is preventing a good fit. My experimental unit is "plot" as in field plot, which I am sorry is confusing. The data can be found: https://www.dropbox.com/s/a0tplyvs8lxu1d0/rootmeansv2.csv . with df$plot.f<-as.factor(df$plot) dfG<-groupedData(mass ~ year|plot.f, data=df) dfG30<-dfG[dfG$depth == 30,] Simply, I have mass over time and I