Question: Create a new tibble called diamonds 2 that filters out all diamonds that have a y value smaller than 3 or greater than 2 0

Create a new tibble called diamonds2 that filters out all diamonds that have a y value smaller than 3 or greater than 20(retain diamonds between 3 and 20).
Create a new tibble called diamonds3 that takes diamonds2 and adds a new column that contains the word colorless if color is DEF or yellowish if it is any other color code.
Create a new tibble called diamonds4 that uses a filter to only include diamonds with carat weight greater than 2 and color of colorless.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!