Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. > tobacco<- read.csv(file.choose(), header=TRUE)
  2. > tobacco.mod=aov(Activity~Treatment+factor(Tobacco), data=tobacco)
  3. > anova(tobacco.mod)
  4. Analysis of Variance Table
  5.  
  6. Response: Activity
  7. Df Sum Sq Mean Sq F value Pr(>F)
  8. Treatment 2 58570 29284.9 112.478 2.804e-12 ***
  9. factor(Tobacco) 2 19684 9841.8 37.801 7.632e-08 ***
  10. Residuals 22 5728 260.4
  11. ---
  12. Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
  13. > TukeyHSD(tobacco.mod)
  14. Tukey multiple comparisons of means
  15. 95% family-wise confidence level
  16.  
  17. Fit: aov(formula = Activity ~ Treatment + factor(Tobacco), data = tobacco)
  18.  
  19. $Treatment
  20. diff lwr upr p adj
  21. TMV-Noninfected 101.000000 81.89216 120.1078 0.0000000
  22. TRSV-Noninfected 4.555556 -14.55229 23.6634 0.8221412
  23. TRSV-TMV -96.444444 -115.55229 -77.3366 0.0000000
  24.  
  25. $`factor(Tobacco)`
  26. diff lwr upr p adj
  27. Strain_B-Strain_A -31.44444 -50.55229 -12.33660 0.0012165
  28. Strain_C-Strain_A 34.66667 15.55882 53.77451 0.0004373
  29. Strain_C-Strain_B 66.11111 47.00327 85.21895 0.0000000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement