Run the Rmarkdown script Quantogram.Rmd
(for example in Rstudio), taking care to install the necessary R libraries (and any required package dependencies). The necessary R libraries are loaded using:
Library | Needed for |
---|---|
library(ggplot2) |
advanced graphics |
library(cowplot) |
needed for multiple plots |
library(ggmap) |
online maps |
library(Hmisc) |
needed to supply the first.word function |
In order forthe script is to run successfully, an internet connection is required in order to access Google Maps.
If the standard error estimates differ slightly from those reported in the parent paper Barnes and Kendall (2017) then this is because they were produced by simulation techniques either using a different seed or running investigations in a different order.