Queer European MD passionate about IT
Forráskód Böngészése

Update Mission518Solutions.Rmd

Updating the solutions to use `ggplot()` because `qplot()` was deprecated.
Casey Bates 2 éve
szülő
commit
669203a321
1 módosított fájl, 5 hozzáadás és 4 törlés
  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?