Question: In R , Create a function that will filter the diamonds dataset and return the average price of good diamonds with VVS 2 clarity and

In R, Create a function that will filter the diamonds dataset and return the average price of good diamonds with VVS2 clarity and E color when called by DiamondSum(diamonds, "Good", "Price", "E","VVS2").

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 Programming Questions!