Advertisement
Guest User

Untitled

a guest
May 2nd, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. 'data.frame': 120 obs. of 5 variables:
  2. $ Block : Factor w/ 2 levels "1","2": 1 1 1 2 2 2 1 1 1 2 ...
  3. $ Drought : Factor w/ 5 levels "0","1","2","4",..: 1 1 1 1 1 1 1 1 1 1 ...
  4. $ Tillage : Factor w/ 2 levels "Conv","ST": 2 2 2 2 2 2 2 2 2 2 ...
  5. $ Nutrients : Factor w/ 2 levels "Background","Fertilized": 2 2 2 2 2 2 1 1 1 1 ...
  6. $ PlantBiomass: num 2.62 4.48 3.71 1.82 1.52 ...
  7.  
  8. split.mod<-aov(PlantBiomass ~ Drought + Tillage + Drought:Tillage + Block +
  9. Error(Drought:Tillage:Block)+
  10. Nutrients + Drought:Nutrients +
  11. Tillage:Nutrients +
  12. Drought:Tillage:Nutrients,
  13. biomass)
  14. summary(split.mod)
  15.  
  16. #Test homogeneity of variance assumption:
  17. leveneTest(PlantBiomass ~ Drought,data=biomass)
  18. leveneTest(PlantBiomass ~ Tillage,data=biomass)
  19. leveneTest(PlantBiomass ~ Nutrients,data=biomass)
  20.  
  21. #Levene test result for drought:
  22. Levene's Test for Homogeneity of Variance (center = median)
  23. Df F value Pr(>F)
  24. group 4 11.206 1.034e-07 ***
  25. 115
  26. ---
  27. Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement