Git Product home page Git Product logo

plots's Introduction

README - Generateing Plots for Explanatory Analysis

One data load R scripts created

6 plogtting R script created

plot_data.R - function plot_data()

When plot_data() function called for first time will load NEI and SCC dataset and can be further referenced in all plotting R scripts (plot1.R, plot2.R, plot3.R, plot4.R, plot5.R and plot6.R)

working direcotry: Current working directory will be used as base directory to search for file holding dataset NEI and SCC

Loading NEI and SCC once in memory will improve performance for plot generating script.


NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")


plot1.R - function plot1(plot_data)

plot1.R holds function plot1(plot_data). This function call will generate plot1.png in working directory.

plot2.R - function plot1(plot_data)

plot2.R holds function plot2(plot_data). This function call will generate plot2.png in working directory.

plot3.R - function plot3(plot_data)

plot3.R holds function plot3(plot_data). This function call will generate plot3.png in working directory.

plot4.R - function plot4(plot_data)

plot4.R holds function plot4(plot_data). This function call will generate plot4.png in working directory.

plot5.R - function plot5(plot_data)

plot5.R holds function plot5(plot_data). This function call will generate plot5.png in working directory.

plot6.R - function plot6(plot_data)

plot6.R holds function plot6(plot_data). This function call will generate plot6.png in working directory.

STEPS TO RUN SCRIPTS

Step#initiatilize


source("plot_data.R")
source("plot1.R")
source("plot2.R")
source("plot3.R")
source("plot4.R")
source("plot5.R")
source("plot6.R")

Step#Initialize data

plot_data <- plot_data()

Step#Generate plot1.png


plot1(plot_data)


Step#Generate plot2.png


plot2(plot_data)


Step#Generate plot3.png


plot3(plot_data)


Step#Generate plot4.png


plot4(plot_data)


Step#Generate plot5.png


plot5(plot_data)


Step#Generate plot6.png


plot6(plot_data)


plots's People

Contributors

sonofram avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.