Beaver Tempurature Dynamics

Chris

May 12, 2017

Introduction

Rational

This application was built to for the coursera Data Products course peer reviewed assignment.

The projects ensured the comprhension of the:

  1. shiny package
  2. THe use of slidy to produce power rpoint presentations

The Pakcages

Shiny()-This package allows R to build interactive applications. The pre-built widgets, the reactive input, output functions allow for nice, responsive, interactive tables, maps, graphs. etc. The ui.R and the server.R markdowns are key to get this application up and running. In this project we rendered a plot, and used the brush function to allow the user to brush over points of interest in the beaver plot. The user can get details about the slope and intercept of the data when brushing over a range of points.

For more information: http://shiny.rstudio.com

The source for the application is posted on https://github.com/ChristopherPapanicolas87/DataProductsSimpleApp

The data

Default data loaded from the package beaver1

summary(beaver1)
##       day             time             temp           activ        
##  Min.   :346.0   Min.   :   0.0   Min.   :36.33   Min.   :0.00000  
##  1st Qu.:346.0   1st Qu.: 932.5   1st Qu.:36.76   1st Qu.:0.00000  
##  Median :346.0   Median :1415.0   Median :36.87   Median :0.00000  
##  Mean   :346.2   Mean   :1312.0   Mean   :36.86   Mean   :0.05263  
##  3rd Qu.:346.0   3rd Qu.:1887.5   3rd Qu.:36.96   3rd Qu.:0.00000  
##  Max.   :347.0   Max.   :2350.0   Max.   :37.53   Max.   :1.00000
f <- beaver1[,c("time", "temp")]
head(f)
##   time  temp
## 1  840 36.33
## 2  850 36.34
## 3  900 36.35
## 4  910 36.42
## 5  920 36.55
## 6  930 36.69

The Application

The application “Time vs. Temp” is an application built with shiny to show the correlation between beaver time and beaver temperature. The application was built to understand the concepts of shiny and its functionalities. The data is can be loaded as a package library(beaver1).

The aapplication is used to assess the slope and intercept when looking at beaver time and temperature. The user can brush over with the mouse a select range of data points. On the side panel, the user will be able to observe a slope and intercept for the range of data points brushed over by the user.

-Application is deployed on https://cpapanicolas.shinyapps.io/dataproductfinalproject/