Question
1. Use the supermarketsales data sets from this link and use the following command midtermdata
1. 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. Calculate the median "Unit Price" in "Yangon". 3. Draw box plots for "Unit Price" for male and female (two box plots). 4. 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. Draw scatterplot to visualize the association between "Unit Price" and "Gross Income". 6. Find the mode and third quartile for Gross Income in Yangon.
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