Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. > weed <- read.csv(file.choose(), header=TRUE)
  2. > weed.mod=aov(Density~Year+factor(Quadrant), data=weed)
  3. > anova(weed.mod)
  4. Analysis of Variance Table
  5.  
  6. Response: Density
  7. Df Sum Sq Mean Sq F value Pr(>F)
  8. Year 1 3444.5 3444.5 62.838 1.920e-07 ***
  9. factor(Quadrat) 4 3439.8 859.9 15.688 7.909e-06 ***
  10. Residuals 19 1041.5 54.8
  11. ---
  12. Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
  13. > TukeyHSD(weed.mod)
  14. Tukey multiple comparisons of means
  15. 95% family-wise confidence level
  16.  
  17. Fit: aov(formula = Density ~ Year + factor(Quadrat), data = weed)
  18.  
  19. $`factor(Quadrat)`
  20. diff lwr upr p adj
  21. 2-1 11.2 -2.881403 25.281403 0.1604470
  22. 3-1 32.6 18.518597 46.681403 0.0000111
  23. 4-1 1.0 -13.081403 15.081403 0.9994923
  24. 5-1 12.0 -2.081403 26.081403 0.1180825
  25. 3-2 21.4 7.318597 35.481403 0.0017334
  26. 4-2 -10.2 -24.281403 3.881403 0.2299065
  27. 5-2 0.8 -13.281403 14.881403 0.9997901
  28. 4-3 -31.6 -45.681403 -17.518597 0.0000170
  29. 5-3 -20.6 -34.681403 -6.518597 0.0025251
  30. 5-4 11.0 -3.081403 25.081403 0.1727971
  31.  
  32. Warning messages:
  33. 1: In replications(paste("~", xx), data = mf) : non-factors ignored: Year
  34. 2: In TukeyHSD.aov(weed.mod) :
  35. 'which' specified some non-factors which will be dropped
  36. > weed <- read.csv(file.choose(), header=TRUE)
  37. > weed.mod=aov(Density~Year+factor(Quadrant), data=weed)
  38. > anova(weed.mod)
  39. Analysis of Variance Table
  40.  
  41. Response: Density
  42. Df Sum Sq Mean Sq F value Pr(>F)
  43. Year 1 3444.5 3444.5 62.838 1.920e-07 ***
  44. factor(Quadrant) 4 3439.8 859.9 15.688 7.909e-06 ***
  45. Residuals 19 1041.5 54.8
  46. ---
  47. Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
  48. > TukeyHSD(weed.mod)
  49. Tukey multiple comparisons of means
  50. 95% family-wise confidence level
  51.  
  52. Fit: aov(formula = Density ~ Year + factor(Quadrant), data = weed)
  53.  
  54. $`factor(Quadrant)`
  55. diff lwr upr p adj
  56. 2-1 11.2 -2.881403 25.281403 0.1604470
  57. 3-1 32.6 18.518597 46.681403 0.0000111
  58. 4-1 1.0 -13.081403 15.081403 0.9994923
  59. 5-1 12.0 -2.081403 26.081403 0.1180825
  60. 3-2 21.4 7.318597 35.481403 0.0017334
  61. 4-2 -10.2 -24.281403 3.881403 0.2299065
  62. 5-2 0.8 -13.281403 14.881403 0.9997901
  63. 4-3 -31.6 -45.681403 -17.518597 0.0000170
  64. 5-3 -20.6 -34.681403 -6.518597 0.0025251
  65. 5-4 11.0 -3.081403 25.081403 0.1727971
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement