Categories: Uncategorized

Assignment:

Assignment:

Use RStudio to generate advanced graphs (using the ggplot2 package) using the dataset below.

Don't use plagiarized sources. Get Your Custom Essay on
Assignment:
This is a Snippet Preview, get a Complete Solution Here
Order Essay

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).

Phyllis Mugure

Recent Posts

Introduction to psychology | Assignments Market

ASSIGNMENT 08 S01 Introduction to Psychology I Directions: Be sure to save an electronic copy…

4 years ago

Education | Assignments Market

Include a comprehensive, thoughtful and critical analysis to the arguments and perspectives of the readings…

4 years ago

Session 2 Discussion | Assignments Market

Discussion Prompt: Plagiarism As a writer, one of the gravest errors to make is to…

4 years ago

CJL Writing Questions | Assignments Market

Question 1: Write a Hypothetical. Write a legal memorandum analyzing what happened in the following…

4 years ago

short HW all the questions below | Assignments Market

You work at Happy Joe's family restaurant and want to see if customer meal satisfaction…

4 years ago

321 solve … | Assignments Market

The Assignment must be submitted on Blackboard (WORD format only) via allocated folder. Assignments submitted…

4 years ago