@mchien20 this is shaping up nicely. Some suggestions:
(1) why use gf_refine(coord_flip())? That seems needlessly complicated here
(2) Can you please be sure to include library() calls for mosaic, readr, and janitor in both the initial code chunk (suppressed from view) and in a chunk that is displayed? The second call is a no-op but makes things more transparent for the reader. This will be needed for all the chapters.
(3) I cleaned up some axis labels for the boxplot with "as.factor()" calls. This would also be helpful throughout chapter 4 and later chapters as students start to refine their graphs.
See my commit here: https://github.com/Amherst-Statistics/IS5inR/commit/0757ee0d433341e92e46f567e70739e7e62ba4eb
@mchien20 this is shaping up nicely. Some suggestions: (1) why use gf_refine(coord_flip())? That seems needlessly complicated here (2) Can you please be sure to include library() calls for mosaic, readr, and janitor in both the initial code chunk (suppressed from view) and in a chunk that is displayed? The second call is a no-op but makes things more transparent for the reader. This will be needed for all the chapters. (3) I cleaned up some axis labels for the boxplot with "as.factor()" calls. This would also be helpful throughout chapter 4 and later chapters as students start to refine their graphs. See my commit here: https://github.com/Amherst-Statistics/IS5inR/commit/0757ee0d433341e92e46f567e70739e7e62ba4eb