Question: If you start with this data frame: venue location rating average_cost Einstein Bros. Engineering 4 5 Chipotle Johnson 3 8 Steak and Shake Johnson 5

If you start with this data frame: venue location rating average_cost "Einstein Bros." "Engineering" 4 5 "Chipotle" "Johnson" 3 8 "Steak and Shake" "Johnson" 5 7 "Southside" "Southside" 15 6 "Chick-fil-a" "SUB 1" 2 7 which tidyr function would you use to generate this dataframe as output: venue location key value "Einstein Bros." "Engineering" rating 14 "Chipotle" "Johnson" rating 3 "Steak and Shake" "Johnson" rating 115 "Southside" "Southside" rating 5 "Chick-fil-a" "SUB 1" rating 2 "Einstein Bros." "Engineering" (average_cost 5 "Chipotle" "Johnson" average_cost 8 "Steak and Shake" "Johnson" average_cost | 7 "Southside" "Southside" average_cost 6 "Chick-fil-a" "SUB 1" average_cost 7 2011. filter O rename o spread O gather O mutate
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
