Question: Programming Using R: The dataset starwars (dplyr) contains information on 87 Star Wars movie characters. One's Body Mass Index (BMI) is defined as their weight
Programming Using R:
The dataset starwars (dplyr) contains information on 87 Star Wars movie characters. One's Body Mass Index (BMI) is defined as their weight in kg divided by (height in meters)2. Using dplyr functions (but without using the piping operator %>%), create a tibble that displays only the names and BMIs of those characters whose BMI exceeds 30, with the characters listed in descending order of BMI. Hint: Be sure to inspect the dataset by viewing it in the console and using the com- mand ?starwars. Perform the same task as above, but use the piping operator %>% to do it all in one command. Which Star Wars character has the highest BMI
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
