Question: ( 1 0 MARKS ) Using the zagat dataset from the smss package, complete the following tasks: ( Note: you may need to load additional
MARKS Using the zagat dataset from the smss package, complete the following tasks: Note: you may need to load additional libraries to answer the questions. This dataset contains information on ratings of Italian restaurants in Boston, London, and New York. First read about the dataset using in the R console then take a look at the data using the str and head functions. a Create a box and whisker plot for City against CostCity should be on the xaxis and a bar chart displaying Cityie it should show the number of restaurants rated per city Give each graph a title. b Display the graphs in one image using R code ie do not just screen grab the images and combine themc Create a parallel coordinates plot using the predictor variables FoodDecorService and Cost The plot should be colour coded by City and scale your graph using uniminmax
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
