Skip to content

bfisseler/ExData_Plotting1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exploratory Data Analysis Course Project 1

This repository contains the required plots 1-4 and the scripts plot[1-4].R that create the plots. To run the scripts, please make sure that the original dataset is unzipped and that the current working directory contains a file called "household_power_consumption.txt".

What the scripts do

Each script loads the data from "household_power_consumption.txt", subsets them to extract the data for the dates 2007-02-01 and 2007-02-02. Then the date and time variables are converted into POSIX dates. Additional conversion is done to ensure that the other variables are numeric. After that, a png is opened as a graphic device and the data is plotted. Each script also stores the current locale and restores it after the plot is done.

Plot 1

plot produced by plot1.R

Plot 2

plot produced by plot2.R

Plot 3

plot produced by plot3.R

Plot 4

plot produced by plot4.R

About

Plotting Assignment 1 for Exploratory Data Analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%