Analyzing and Visualizing data
Assignment:
Use RStudio to generate advanced graphs (using the ggplot2 package) using the dataset below.
Use the following videos to learn the commands to produce advanced graphs in RStudio: RStudio - Advanced Graphs - Part1.mp4
| RStudio - Advanced Graphs - Part2.mp4
Graphs to Produce:
ggplot2 - Bar Plot: (Use dataset_student_survey_data.csv)
- x=Smoke
- fill=Exer
- position=dodge
- facet=Sex
- x-label=Smoker
- y-label=Counts
- title=The Exercise habits of Male and Female students that smoke
ggplot2 - Histogram: (Use dataset_us_car_price_data.csv)
- x=Price
- fill=Type
- facet=Type
- x-label=Price
- y-label=Freq
- title=Car Price Distribution based on Car Type
ggplot2 - Box Plot: (Use dataset_production_of_rice_in_india.csv)
- x=varieties
- y=price
- fill=bimas
- facet=status
- x-label=Rice Varieties
- x-label=Price
- title=India Rice Prices based on Varieties, Land Status, and Bimas Program
ggplot2 - Scatter Plot: (Use dataset_production_of_rice_in_india.csv)
- x=price
- y=wage
- shape=bimas
- col=bimas
- facet=status
- method=lm
- se=F
- x-label=Rice Price
- y=Wage
- title=India Rice Prices vs Wage broken down by Land Status and Bimas Program
Please put all screen shots in a MS Word (other word processors are fine to use but save it in MS Word format).
6 years ago
10
Answer(1)![blurred-text]()
![]()
Purchase the answer to view it

- R_ggplot2-Advance.docx
other Questions(10)
- 2
- Assessment 4 - Final Paper
- ACC-280-Week 5 DQs 1-3
- ACC 280 Course Syllabus
- Finite Math Help Quiz 2 & 4
- SCI 256 Week 3 Assignment ( Natural Resources and Energy Paper ) - A Graded - Best Tutorial - Quality Work - Latest Syllabus
- ACC 260 WEEK 4 CheckPoint Philosophical Approaches to Ethical Decision Making.doc
- ACC 260 WEEK 8 Assignment Fully Applying a Decision-Making Framework.doc
- BA 181 Foundations of Marketing Assignment 1
- Northwest Brands, Inc., is a small business incorporated in Minnesota. Its one class of stock is owned by twelve members of a single family. Ordinarily, corporate income is taxed at the corporate and shareholder levels. Is there a way for Northwest Brands