Acacia and Ants Color and Facets (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 scatter plot with
CIRCon the x axis andAXIS1(the maximum canopy width) on the y axis, with points colored based on theANTcolumn (the species of ant symbiont living with the acacia). Label the x axis “Circumference” and the y axis “Canopy Diameter”. - The same plot as (1), but instead of different colors show different species of ant (values of
ANT) each in a separate subplot.