Setup

install.packages(c('dplyr', 'ggplot2', 'readr'))
download.file("https://ndownloader.figshare.com/files/5629542",
              "ACACIA_DREPANOLOBIUM_SURVEY.txt")
download.file("https://ndownloader.figshare.com/files/5629536",
              "TREE.txt")
download.file("https://esapubs.org/archive/ecol/E084/093/Mammal_lifehistories_v2.txt",
              "Mammal_lifehistories_v2.txt")

Lecture Notes