Description Usage Format References Examples
Subset of eggs_and_nests data the contains only Dome, Cup, and ground surface nests
1 |
A data frame
Taxonomic family
Taxonomic order
Genus and species
Index of how asymmetric an egg is
Index of how elliptical an egg is
Mean length of egg
nest type of species
author
ellipticity of bird in grams
....
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | library(ggplot2)
library(ggpubr)
ggpubr::ggerrorplot(eggs_and_nests2,
x = "nest",
y = "ellipticity",
desc_stat = "mean_ci")
## 1-way ANOVA
### null model
model.null <- lm(ellipticity ~ 1, data = eggs_and_nests2)
### model of interest
model.alt <- lm(ellipticity ~ nest, data = eggs_and_nests2)
### compare models
anova(model.null, model.alt)
## Tukey test
### re-fit model with aov()
model.alt.aov <- aov(ellipticity ~ nest, data = eggs_and_nests2)
### TukeyHSD() on model from aov()
TukeyHSD(model.alt.aov)
### Plot effect sizes
#plotTukeysHSD(TukeyHSD(model.alt.aov))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.