Question
The dataset below LaptopSalesJanuary2008.csv contains data for all sales of laptops at a computer chain in London in January 2008. This is a subset of
The dataset below LaptopSalesJanuary2008.csv contains data for all sales of laptops at a computer chain in London in January 2008. This is a subset of the full dataset that includes data for the entire year. You will use it to practice data mining in R.
Create side-by-side boxplots of the retail price by store, to better compare retail prices across stores. Now compare the prices in the two stores from (a). Does there seem to be a difference between their price distributions?
price<-sales$Retail.Price
store<-sales$Store.Postcode
head(sales)
boxplot(sales$Retail.Price~sales$Store.Postcode)
How do we compare just the two stores- highest and lowest average?
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