From ac713b509dac7bcf67ace4f2ca0ddbd2db6398b9 Mon Sep 17 00:00:00 2001 From: Miguel Santana <44781388+migueltsantana@users.noreply.github.com> Date: Thu, 19 Jan 2023 14:38:56 +0000 Subject: [PATCH] Typo fix Changed a typo on line 133. The text had "se to FALSE" but it meant "set to FALSE". --- Exploratory_Data_Analysis/GGPlot2_Part2/lesson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Exploratory_Data_Analysis/GGPlot2_Part2/lesson b/Exploratory_Data_Analysis/GGPlot2_Part2/lesson index 4dbac922..7afa2616 100644 --- a/Exploratory_Data_Analysis/GGPlot2_Part2/lesson +++ b/Exploratory_Data_Analysis/GGPlot2_Part2/lesson @@ -130,7 +130,7 @@ Hint: Type g + geom_point(aes(color = drv)) + labs(title="Swirl Rules!") + labs(x="Displacement", y="Hwy Mileage") at the command prompt. - Class: cmd_question - Output: Note that you could have combined the two calls to the function labs in the previous example. Now we'll practice customizing the geom_smooth calls. Use g and add to it a call to geom_point setting the color to drv type (remember to use the call to the aes function), size set to 2 and alpha to 1/2. Then add a call to geom_smooth with 4 arguments. Set size equal to 4, linetype to 3, method to "lm", and se to FALSE. + Output: Note that you could have combined the two calls to the function labs in the previous example. Now we'll practice customizing the geom_smooth calls. Use g and add to it a call to geom_point setting the color to drv type (remember to use the call to the aes function), size set to 2 and alpha to 1/2. Then add a call to geom_smooth with 4 arguments. Set size equal to 4, linetype to 3, method to "lm", and set to FALSE. CorrectAnswer: g + geom_point(aes(color = drv),size=2,alpha=1/2) + geom_smooth(size=4,linetype=3,method="lm",se=FALSE) AnswerTests: ANY_of_exprs('g + geom_point(aes(color = drv),size=2,alpha=1/2) + geom_smooth(size=4,linetype=3,method="lm",se=FALSE)','g + geom_point(aes(color = drv),size=2,alpha=.5) + geom_smooth(size=4,linetype=3,method="lm",se=FALSE)') Hint: Type g + geom_point(aes(color = drv),size=2,alpha=1/2) + geom_smooth(size=4,linetype=3,method="lm",se=FALSE) at the command prompt.