Acacia and Ants Histograms (Graphing)
An experiment in Kenya has been exploring the influence of large herbivores on plants.
If ACACIA_DREPANOLOBIUM_SURVEY.txt is not in your workspace download it.
Read it into R using the following command:
acacia <- read_tsv("ACACIA_DREPANOLOBIUM_SURVEY.txt", na = c("dead"))
- Make a bar plot of the number of acacia with each mutualist ant species (using the
ANTcolumn). - Make a histogram of the height of acacia (using the
HEIGHTcolumn). Label the x axis “Height (m)” and the y axis “Number of Acacia”. - Make a bar plot of the number of acacia in each
TREATMENT. Label the x axis “Treatment” and the y axis “Number of Acacia”. - Make a histogram of the circumference of acacia (using the
CIRCcolumn) with abinwidthof 5. Label the x axis “Circumference (cm)” and the y axis “Number of Acacia”.