The R code associated with the analysis presented in the paper Sunspot activity and influenza pandemics: a statistical assessment of the purported association is in sunspot_analysis.R
The file reads in the data files summary_pandemic_data.txt, andĀ sunspot_wolf_and_group_1700_to_2014.txt
The R script produces the following plot, shown in the paper,