Question: Answer the questions 12bxary (ggplot.2) ggplot (diamonds, aea ( x= color) )+ geom bar() 11) What type of chart does the comand in line 2
12bxary (ggplot.2) ggplot (diamonds, aea ( x= color) )+ geom bar() 11) What type of chart does the comand in line 2 make? g9plot (diamonds, nes (y=color)) + geom bar () +2) What does changing the aesthetic argument from the x to the y axis do in thia type of plot? ggplot (diamonds, aes (x=color))+ geom bar (f 111= "purple") 43) What did the f111 argument do in line 8 ' a code? ggplot (diamonds, aes (x= color, f111=cut))+ geom bar () 14) Whet did the fill arqument do in line 11,g9 code? 75) Why did fili do something different in line 8 va line 11 ? gaplot (dtamonds, aes (x= color, f111=cut)) + geom bar (position = position_dodge ()) (6) Whet does the position argument allor us to do in a bar chart
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
