10 Jul Analyzing and visualizing data
Question Description
Background: This week you will be given a dataset and the documentation that goes along with the dataset. Up until today, I have told you what to graph or what fields to plot in the graphs. This week, you will decide what fields to use.
Assignment:
User RStudio to generate advanced graphs (using the ggplog2 package) using the dataset below.
Replace each categorical placeholder with appropriate categorical data fields.
Replace each continuous placeholder with appropriate continuous data fields.
Use the video above as an introduction to this assignment. Note: We have already had our residency weekend, so you can ignore the comment about residency being next week.
Both a screen shot and an explanation is required for each answer. Thus, you must write an answer to the question: What story is presented in this visualization? Copy all screen shots into one Word document (other word processors are fine to use but save it in MS Word format) and answer the question after each screen shot. Your answer should contain five to eight observations about the data. 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.
Remember to tell RStudio which fields are factors.
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 and question to answer:
ggplot2 – Bar Plot: (Use dataset_budget_share_Food_Spanish_Households.csv)
ggplot(dataset_name, aes(x=categorical, fill=categorical)) + facet_wrap(~categorical) + theme_bw() + geom_bar(position=”dodge”)
Label the x-axis.
Label the y-axis.
Give the graph a title.
What story is presented in this visualization? (5 to 8 observations)
ggplot2 – Histogram: (Use dataset_budget_share_Food_Spanish_Households.csv)
ggplot(dataset_name, aes(x=continuous, fill=categorical)) + theme_bw() + facet_wrap(~categorical) + geom_histogram(binwidth=5) — you should decide the correct binwidth
Label the x-axis.
Label the y-axis.
Give the graph a title.
What story is presented in this visualization? (5 to 8 observations)
ggplot2 – Box Plot: (Use dataset_budget_share_Food_Spanish_Households.csv)
ggplot(dataset_name, aes(x=categorical, y=continuous, fill=categorical)) + theme_bw() + facet_wrap(~categorical) + geom_boxplot()
Label the x-axis.
Label the y-axis.
Give the graph a title.
What story is presented in this visualization? (5 to 8 observations)
ggplot2 – Scatter Plot: (Use dataset_budget_share_Food_Spanish_Households.csv)
ggplot(dataset_name, aes(x=continuous, y=continuous, shape=categorical, col=categorical)) + facet_wrap(~categorical) + theme_bw() + geom_point() + geom_smooth(method=”lm”,se=F)
Label the x-axis.
Label the y-axis.
Give the graph a title.
What story is presented in this visualization? (5 to 8 observations)
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Wridemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.