This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start with all Lepidoptera museum records from | |
# Boyle, J., H. Dalgleish, and J. Puzey. 2019a. | |
# Data from: Monarch butterfly and milkweed declines substantially predate | |
# the use of genetically modified crops. Dryad Digital Repository. | |
# https://datadryad.org/resource/doi:10.5061/dryad.sk37gd2 | |
# these data were downloaded, cleaned, and saved with code provided in Dryad: | |
# PART 1.1 Filtering museum data.R | |
lep <- readRDS("lep_records.rds") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scale_x_discrete(limits = rev(levels(the_factor))) |