Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. > guppies<- read.csv(file.choose(), header=TRUE)
  2. > guppies.mod=aov(Offspring~Feedings+factor(Temperature), data=guppies)
  3. > anova(guppies.mod)
  4. Analysis of Variance Table
  5.  
  6. Response: Offspring
  7. Df Sum Sq Mean Sq F value Pr(>F)
  8. Feedings 1 1333.33 1333.33 55.843 3.573e-09 ***
  9. factor(Temperature) 2 1059.73 529.87 22.192 2.943e-07 ***
  10. Residuals 41 978.93 23.88
  11. ---
  12. Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
  13. > TukeyHSD(guppies.mod)
  14. Tukey multiple comparisons of means
  15. 95% family-wise confidence level
  16.  
  17. Fit: aov(formula = Offspring ~ Feedings + factor(Temperature), data = guppies)
  18.  
  19. $`factor(Temperature)`
  20. diff lwr upr p adj
  21. 75F-70F 5.333333 0.9946773 9.671989 0.0128112
  22. 80F-70F 11.866667 7.5280106 16.205323 0.0000002
  23. 80F-75F 6.533333 2.1946773 10.871989 0.0020105
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement