Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.24 KB

Instructions.md

File metadata and controls

32 lines (27 loc) · 1.24 KB
title author date output
Instructions
Yilmaz Rona
September 12, 2015
html_document

Introduction

This is the submission for Project 1 of Exploratory Data Analysis.

It contains all the code needed to generate the plots from the source data, Electric power consumption [20Mb].

Preparation

Prior to executing the code, you must download and unzip the source data

The files

  • load_data.R: A function to import the unzipped data. It is called by the plotting routines and must be sourced alongside the plotting files.
  • plot1.R: Produces plot 1, a histogram of Global Active Power
  • plot2.R: Produces plot 2, a time series plot of Global Active Power
  • plot3.R: Produces plot 3, a time series plot showing traces of Sub Metering 1,2 and 3.
  • plot4.R: Produces 4 plots, + a time series plot of Global Active Power + a time series plot of Voltage + a time series plot showing traces of Sub Metering 1,2 and 3 + a time series plot of Global Reactive Power

Example Usage

source('load_data.r')
source('/plot1.R')
temp <- plot1("household_power_consumption.txt")