search for: sp12

Displaying 2 results from an estimated 2 matches for "sp12".

Did you mean: sp1
2005 Jul 12
3
adding a factor column based on levels of another factor
...r in the data frame. e.g. uniqueID species elev ht diam 1 1 sp2 3.5 1.3 55 2 2 sp2 4.2 0.5 15 3 3 sp3 3.2 1.0 13 4 4 sp65 2.2 2.0 14 5 5 sp43 5.4 5.7 20 6 6 sp2 2.5 4.1 32 7 7 sp12 1.1 0.9 5 8 8 sp3 3.4 3.6 2 I would like to add a factor column to this data frame, indicating to which group each individual belongs. All individuals of the same species will belong to the same group. Is there a quick way of saying "for all instances of species1,...
2005 Jul 13
1
Name for factor's levels with contr.sum
Good morning, I used in R contr.sum for the contrast in a lme model: > options(contrasts=c("contr.sum","contr.poly")) > Septo5.lme<-lme(Septo~Variete+DateSemi,Data4.Iso,random=~1|LieuDit) > intervals(Septo5.lme)$fixed lower est. upper (Intercept) 17.0644033 23.106110 29.147816 Variete1 9.5819873 17.335324 25.088661 Variete2 -3.3794907 6.816101 17.011692 Variete3