analyzing and visualizing data 1

Background: We have seen how simple data analysis and simple graphs assist us with telling the story of raw datasets. Now we will learn how the use of advanced graphs play a major “drilling down” deep into the meaning of the data.

Assignment:

  • Use RStudio to generate advanced graphs (using the ggplot2 package) using the datasets 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
  • Only a screen shot is required for each answer. Thus, you do not need to write anything for the answers. Simply copy your screen shot into a single Word document (other word processors are fine to use but save it in MS Word format) . Your screen shots must show the full RStudio window with proof that your command ran successfully, and contain the correct answer to the question. Circle the command and result in the console window of the screen shot if you have multiple commands showing in the screen shot.
  • Your cover page should contain the following: Title, Student’s name, University’s name, Course name, Course number, Professor’s name, and Date.
  • Submit your assignment on or before the due date.

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=Exercise habits of Male and Female Students who 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
  • y-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 (Note: the first letter is a lower case L)
  • se=False
  • x-label=Rice Price
  • y-label=Wage
  • title=India Rice Prices vs Wage broken down by Land Status and Bimas Program
 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.