You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose that instead of subsetting the plot to only show countries that begin with A or Z as facets (which I believe was done because the plot takes forever to generate if you try doing it for all countries at once), all of the subsetting code is removed and instead the plot is simply facetted by continent.
Hi, I was reading now the section 8, about creating graphics with ggplot2 and I noticed that the new script faceting by continent create a problem in the immidiately following script in "Modify text" and "Exporting the plot", because the object az.countries has not been created anymore in the Multi-panel figure section.
I think the ploblem could be fix by changing in the section "Modifying text" the first line of the code changing from "data = az.countries" to "data=americas". The same issue can be solved in the section "Exporting the plot" changing the first line of script from "lifeExp_plot <- ggplot(data = az.countries, .." in "lifeExp_plot <- ggplot(data = americas,..". I am new so I don't know if this can be a valid contribution for the check out as instructor
I propose that instead of subsetting the plot to only show countries that begin with A or Z as facets (which I believe was done because the plot takes forever to generate if you try doing it for all countries at once), all of the subsetting code is removed and instead the plot is simply facetted by continent.
r-novice-gapminder/_episodes_rmd/08-plot-ggplot2.Rmd
Line 307 in f3d5c95
The text was updated successfully, but these errors were encountered: