What happens when you put the geom smooth function

Assignment Help Other Engineering
Reference no: EM132455247

Start by playing around with the gapminder data a little more. You can try each of these explorations with geom_point() and then with geom_smooth(), or both together.

Question 1: What happens when you put the geom_smooth() function before geom_point() instead of after it? What does this tell you about how the plot is drawn? Think about how this might be useful when drawing plots.

Question 2: Change the mappings in the aes() function so that you plot Life Expectancy against population (pop) rather than per capita GDP. What does that look like? What does it tell you about the unit of observation in the dataset?

Question 3: Try some alternative scale mappings. Besides scale_x_log10() you can try scale_x_sqrt() and scale_x_reverse(). There are corresponding functions for y-axis transformations. Just write yinstead of x. Experiment with them to see what sort of effect they have on the plot, and whether they make any sense to use.

Question 4: What happens if you map color to year instead of continent? Is the result what you expected? Think about what class of object year is. Remember you can get a quick look at the top of the data, which includes some shorthand information on the class of each variable, by typing gapminder.

Question 5: Instead of mapping color = year, what happens if you try color = factor(year)?

Reference no: EM132455247

Questions Cloud

Conduct research and argue the importance of sms : Conduct research and argue the importance of SMS and the NTSB in accident prevention. Access NTSB'sAviation Accident Database & Synopses
Potential drug sample for analysis : You receive a potential drug sample for analysis. The appearance of the powder suggests that it is adulterated and may contain more than substance
Whose responsibility is it to reduce greenhouse gas emission : Is it up to the government, or do individuals also have a personal responsibility? How could the government encourage individuals to reduce greenhouse gases?
What is randolph gross income : Randolph is a single individual who always claims the standard deduction. Unemployment compensation 6,000. What is Randolph's gross income
What happens when you put the geom smooth function : What happens when you put the geom_smooth() function before geom_point() instead of after it? What does this tell you about how the plot is drawn?
What does this mean according to fr boyle : Fr. Boyle says Jesus chose to "marinate in the God who is always greater than our tiny conception, the God who ‘loves without measure and without regret'."
Comparing two health care systems in two different countries : Discuss paper is about comparing two health care systems in two different countries maternal health care systems for example and providing some numbers
Oprah belief series explores faith from perspectives : Oprah's 'Belief' Series Explores Faith From Many Perspectives. Please base on that serie explain How this related to meaningful of life
What is difference between static and flexible budget : and flexibleWhat is the difference between a static budget and a flexible budget? How does management use these budgets to gain insight into performance

Reviews

Write a Review

Other Engineering Questions & Answers

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd