Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions