I\'m trying to follow the worked out exercise given at COVID-19 Data Analysis with R - Worldwide by Yanchang Zhao which is a covid-19 related data analysis performed in R.