Skip to content

Programming Assignment II for the "Exploratory Data Analysis" Course

Notifications You must be signed in to change notification settings

DADGAD/ExData_Plotting2

Repository files navigation

Programming Assignment II for the "Exploratory Data Analysis" Course

Question 1

Have total emissions from PM2.5 decreased in the United States from 1999 to 2008? Using the base plotting system, make a plot showing the total PM2.5 emission from all sources for each of the years 1999, 2002, 2005, and 2008.

Plot 1

See plot1.R for code.

Question 2

Have total emissions from PM2.5 decreased in the Baltimore City, Maryland (fips == "24510") from 1999 to 2008? Use the base plotting system to make a plot answering this question.

Plot 2

See plot2.R for code.

Question 3

Of the four types of sources indicated by the type (point, nonpoint, onroad, nonroad) variable, which of these four sources have seen decreases in emissions from 1999–2008 for Baltimore City? Which have seen increases in emissions from 1999–2008? Use the ggplot2 plotting system to make a plot answer this question.

Plot 3

See plot3.R for code.

Question 4

Across the United States, how have emissions from coal combustion-related sources changed from 1999–2008?

Plot 4

See plot4.R for code.

Question 5

How have emissions from motor vehicle sources changed from 1999–2008 in Baltimore City?

Plot 5

See plot5.R for code.

Question 6

Compare emissions from motor vehicle sources in Baltimore City with emissions from motor vehicle sources in Los Angeles County, California (fips == "06037"). Which city has seen greater changes over time in motor vehicle emissions? Plot 6

See plot6.R for code.

About

Programming Assignment II for the "Exploratory Data Analysis" Course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages