Hi, so far I have had a lot of success asking for help here so thankyou.
My problem now is (and I'm not sure if it is solvable) I have plot lines for Covid infection rates and want to identify where the curve flattens (with in a range). Basically trying to identify which countries have flattened the curve and which haven't. Is this possible to identify?
I have attached a screen shot of the graph and a sample of my data.
structure(list(Country.Region = c("Australia", "Belgium", "Brazil",
"Canada", "Denmark", "Estonia", "Finland", "France", "Germany",
"Ireland", "Italy", "Japan", "Luxembourg", "Mexico", "Netherlands",
"New Zealand", "Norway", "Philippines", "Singapore", "Spain",
"Sweden", "Switzerland", "United Kingdom", "Australia", "Belgium",
"Brazil", "Canada", "Denmark", "Estonia", "Finland", "France",
"Germany", "Ireland", "Italy", "Japan", "Luxembourg", "Mexico",
"Netherlands", "New Zealand", "Norway", "Philippines", "Singapore",
"Spain", "Sweden", "Switzerland", "United Kingdom", "Australia",
"Belgium", "Brazil", "Canada"), Dates = structure(c(18283, 18283,
18283, 18283, 18283, 18283, 18283, 18283, 18283, 18283, 18283,
18283, 18283, 18283, 18283, 18283, 18283, 18283, 18283, 18283,
18283, 18283, 18283, 18284, 18284, 18284, 18284, 18284, 18284,
18284, 18284, 18284, 18284, 18284, 18284, 18284, 18284, 18284,
18284, 18284, 18284, 18284, 18284, 18284, 18284, 18284, 18285,
18285, 18285, 18285), class = "Date"), Confirmed = c(0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0), Dead = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), Recovered = c(0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0), Frequency = c(106.103333333333, 114.663333333333,
102.103333333333, 106.91, 105.13, 105.016666666667, 101.226666666667,
96.9466666666667, 101.236666666667, 118.25, 103.97, 99.3833333333333,
99.9133333333333, 99.5633333333333, 104.446666666667, 106.706666666667,
107.436666666667, 107.83, 99.3966666666667, 104.68, 110, 112.623333333333,
NA, 111.563333333333, 112.77, 98.9666666666667, 109.97, 105.696666666667,
110.033333333333, 102.693333333333, 97.6133333333333, 103.426666666667,
120.69, 106.393333333333, 105.89, 100.43, 103.273333333333, 107.513333333333,
114.676666666667, 108.356666666667, 113.873333333333, 98.7333333333333,
112.9, 107.796666666667, 108, NA, 109.04, 125.083333333333, 104.753333333333,
125.53), CurrentConfirmed = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0)), row.names = c(9L,
17L, 24L, 33L, 47L, 57L, 61L, 62L, 66L, 83L, 85L, 87L, 102L,
111L, 121L, 122L, 127L, 134L, 151L, 157L, 161L, 162L, 175L, 194L,
202L, 209L, 218L, 232L, 242L, 246L, 247L, 251L, 268L, 270L, 272L,
287L, 296L, 306L, 307L, 312L, 319L, 336L, 342L, 346L, 347L, 360L,
379L, 387L, 394L, 403L), class = "data.frame")
> dput( head( CovidJoin1, n = 20 ) )
structure(list(Country.Region = c("Australia", "Belgium", "Brazil",
"Canada", "Denmark", "Estonia", "Finland", "France", "Germany",
"Ireland", "Italy", "Japan", "Luxembourg", "Mexico", "Netherlands",
"New Zealand", "Norway", "Philippines", "Singapore", "Spain"),
Dates = structure(c(18283, 18283, 18283, 18283, 18283, 18283,
18283, 18283, 18283, 18283, 18283, 18283, 18283, 18283, 18283,
18283, 18283, 18283, 18283, 18283), class = "Date"), Confirmed = c(0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0),
Dead = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0), Recovered = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0), Frequency = c(106.103333333333,
114.663333333333, 102.103333333333, 106.91, 105.13, 105.016666666667,
101.226666666667, 96.9466666666667, 101.236666666667, 118.25,
103.97, 99.3833333333333, 99.9133333333333, 99.5633333333333,
104.446666666667, 106.706666666667, 107.436666666667, 107.83,
99.3966666666667, 104.68), CurrentConfirmed = c(0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0)), row.names = c(9L,
17L, 24L, 33L, 47L, 57L, 61L, 62L, 66L, 83L, 85L, 87L, 102L,
111L, 121L, 122L, 127L, 134L, 151L, 157L), class = "data.frame")