Summary Statistics
We can obtain useful summary statistics from our final cleaned datasets country and world using the summary function and using the by function with the summary function.
# Summary Statistics
summary(country)
by(country$confirmed, country$Country.Region, summary
by(country$cumconfirmed, country$Country.Region, summary)
by(country$deaths, country$Country.Region, summary)
by(country$recovered, country$Country.Region, summary)
summary(world)
summary(italy)
Tools: R | Data Format: Statistics