Find the average of purchase amount using repeat loop


Problem

1. Read the data set in BlackFriday.xlsx into R. Call the loaded data BlackFriday.xlxs Make sure that you have the directory set to the correct location for the data.
2. Find the average of purchase amount using for loop.
3. Find the average of purchase amount using while loop.
4. Find the average of purchase amount using repeat loop.
5. Find the average of purchase amount for female shoppers using for loop.
6. Find the average of purchase amount for female shoppers using while loop.
7. Find the average of purchase amount for female shoppers using repeat loop.
8. Find the differences between the average of purchase amount for female and male shoppers.

Request for Solution File

Ask an Expert for Answer!!
Database Management System: Find the average of purchase amount using repeat loop
Reference No:- TGS03256285

Expected delivery within 24 Hours