Question: Using the data provided, create a data frame called Store. Then Create a function R that will print the total of the quantity and sales

Using the data provided, create a data frame called Store. Then Create a function R that will print the total of the quantity and sales for the selected category. For example if I call salesStore(Store, "Furniture"), R would print "The furniture category sold had 10 transactions, 40 items sold, totaling 3073.4 in sales.
hint: The only columns needed for this function are category, sales, and quantity.
Using the data provided, create a data frame

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!