Queer European MD passionate about IT
Parcourir la source

Update Mission518Solutions.Rmd

Updating the solutions to use `ggplot()` because `qplot()` was deprecated.
Casey Bates il y a 2 ans
Parent
commit
669203a321
1 fichiers modifiés avec 5 ajouts et 4 suppressions
  1. 5 4
      Mission518Solutions.Rmd

+ 5 - 4
Mission518Solutions.Rmd

@@ -110,10 +110,11 @@ covid_df_all_states_cumulative_max
 ```{r}
 library(ggplot2)
 
-qplot(x = Two_Letter_Country_Code,
-      y = max,
-      col = Continent_Name,
-      data = covid_df_all_states_cumulative_max)
+gglot(data = covid_df_all_states_cumulative_max, 
+  aes(x = Two_Letter_Country_Code,
+  y = max,
+  col = Continent_Name)) + 
+  geom_point()
 ```
 
 ## Conclusion: Answering the question: Which countries have had the highest fatality (mortality) rates?