Question
Use the supermarketsales data sets from this link and use the following command midtermdata
Use the "supermarketsales" data sets from this link and use the following command midtermdata <- read.csv("supermarketsales.csv") data <- subset(midtermdata, City=="Yangon") to calculate the minimum and maximum Gross Income in "Yangon". 2. (15 points) Calculate the median "Unit Price" in "Yangon". 3. (15 points) Draw box plots for "Unit Price" for male and female (two box plots). 4. (20 points) Write the code for the function f(x) = x 3 . You may look at third week files to figure out how to write the code. 5. (10 points) Draw scatterplot to visualize the association between "Unit Price" and "Gross Income". 6. (20 points) Find the mode and third quartile for Gross Income in Yangon.
This is a link
https://www.dropbox.com/s/iggifskre76h0e1/supermarketsales.csv?dl=0
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started