[R] Permutations in RDA for repeated measures, using how()

2017-06-21 Thread Margot Neyret
Dear all, I am using RDA to study plant communities in various land uses (variable LU with values M, U, etc.). For each land use, I sample 3 to 5 fields (M1, M2, U1, U2, etc). I make 5 measurements for both plant communities and environmental variables in each field. I repeat the process every

Re: [R] Design matrix for species mixture

2017-05-12 Thread Margot Neyret
gt; print(summary(lm(propveg~A+B+C+A:B+A:C+B:C,df))) > > Is that something like what you want? > > Jim > > On Fri, May 12, 2017 at 12:40 AM, Margot Neyret <margotney...@gmail.com> > wrote: > > Hello, > > > > I have fields with species mixtures (for instan

[R] Design matrix for species mixture

2017-05-11 Thread Margot Neyret
Hello, I have fields with species mixtures (for instance, species a, b, c, a+b, a+c, b+c), and I look at the effect of each species on a response Y. More specifically, I would like to compare the effect of individual species, either alone or in mixture. >Y = rnorm(18,0,1) >mixture=