Re: [R-sig-eco] Nested factors in GLMER

2014-07-11 Thread Ben Bolker
Phillips Perry writes: > > Hi Thomas, > > I'm anxious to see what more experienced folks say, but in the mean time, > as I understand it, your first model is the right one: > > glmer(species richness ~ Ca + (year|plot), family=poisson, data=data) > > In this model, "year" is a fixed variable

[R-sig-eco] PLSR: negative R2

2014-07-11 Thread Thomas Möckel
Dear list members, I try to predict indicator values by means of spectral reflectance. I use the plsr function of the pls package with a leave-one-out validation. For one model I receive negative R2_CV values. I know that they mean that the model is bad in model my values. But when I test the