Interactive Applications for Modeling and Analysis with Shiny

Similar documents
Interactive Data Visualization for the Web Scott Murray

The power of IBM SPSS Statistics and R together

Providing the Public with Data Visualization using Google Maps

6 th Annual EclipseCon Introduction to BIRT Report Development. John Ward

Programming in HTML5 with JavaScript and CSS3

Building an Interactive Online Fact Book with R Shiny

Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation

Short notes on webpage programming languages

Coding for the enterprise server

CSE 203 Web Programming 1. Prepared by: Asst. Prof. Dr. Maryam Eskandari

imc FAMOS 6.3 visualization signal analysis data processing test reporting Comprehensive data analysis and documentation imc productive testing

CrownPeak Playbook CrownPeak Hosting with PHP

The document may be freely distributed in its entirety, either digitally or in printed format, to all EPiServer Mail users.

Distributed Systems Seminar Spatio-Temporal Visualization System - STVS

An Introduction to the Use of R for Clinical Research

Study on Parallax Scrolling Web Page Conversion Module

4/25/2016 C. M. Boyd, Practical Data Visualization with JavaScript Talk Handout

2015 HSC Information and Digital Technology Web and software applications Marking Guidelines

Software, Shareware and Opensource CSCU9B2

EBooks: Expanding the School Library

Working With Templates in Web Publisher. Contributed by Paul O Mahony Developer Program

Introduction to ASP. Are you sick of static HTML pages? Do you want to create dynamic web pages? Do you

Create interactive web graphics out of your SAS or R datasets

Data Analytics and Business Intelligence (8696/8697)

Toward a community enhanced programming education

My Oracle Support Portal

Visualizing Data: Scalable Interactivity

Getting Started with R and RStudio 1

Building a website. Should you build your own website?

Basic tutorial for Dreamweaver CS5

Voluntary Product Accessibility Template Blackboard Learn Release 9.1 April 2014 (Published April 30, 2014)

Benjamin Carlson Node.js SQL Server for Data Analytics and Multiplayer Games Excerpt from upcoming MQP-1404 Project Report Advisor: Brian Moriarty

Developing a Website. Chito N. Angeles Web Technologies: Training for Development and Teaching Resources

SAS in clinical trials A relook at project management,

v7.1 SP2 What s New Guide

IT3504: Web Development Techniques (Optional)

Website Accessibility Under Title II of the ADA

PDF Primer PDF. White Paper

idashboards FOR SOLUTION PROVIDERS

TIBCO Spotfire Web Player Release Notes

Input and Output of ISM-Benchmark

REMOTE DEVELOPMENT OPTION

Report Writing for Data Science in R

Implementation guide for LSS

WP Popup Magic User Guide

What's New in BarTender 2016

Abdullah Radwan. Target Job. Work Experience (9 Years)

Embedding Customized Data Visualization and Analysis

USM Web Content Management System

itunes Store Publisher User Guide Version 1.1

Gateway Apps - Security Summary SECURITY SUMMARY

INTERNET PROGRAMMING AND DEVELOPMENT AEC LEA.BN Course Descriptions & Outcome Competency

Moneris ecommerce Guide

Seattle Central Community College BITCA Division. Syllabus MIC Online

2015 WW Australia Training Catalogue

Workshop on Using Open Source Content Management System Drupal to build Library Websites Hasina Afroz Auninda Rumy Saleque

This course provides students with the knowledge and skills to develop ASP.NET MVC 4 web applications.

Analytic Modeling in Python

Creating Page Layouts using SharePoint Designer or Visual Studio

How To Understand The Architecture Of An Ulteo Virtual Desktop Server Farm

JavaScript Testing. Beginner's Guide. Liang Yuxian Eugene. Test and debug JavaScript the easy way PUBLISHING MUMBAI BIRMINGHAM. k I I.

Notes on how to migrate wikis from SharePoint 2007 to SharePoint 2010

Lesson Review Answers

R Tools Evaluation. A review by Global BI / Local & Regional Capabilities. Telefónica CCDO May 2015

Visualizing a Neo4j Graph Database with KeyLines

601/8498/X IAO Level 3 Certificate in Web Design and Development (RQF)

The full setup includes the server itself, the server control panel, Firebird Database Server, and three sample applications with source code.

15 minutes is not much so I will try to give some crucial guidelines and basic knowledge.

Interactive Visualization

IE Class Web Design Curriculum

How to set up SQL Source Control. The short guide for evaluators

Quick Start Guide. This guide will help you get started with Kentico CMS for ASP.NET. It answers these questions:

TIBCO Spotfire Guided Analytics. Transferring Best Practice Analytics from Experts to Everyone

Learning Web Design. Third Edition. A Beginner's Guide to (X)HTML, Style Sheets, and Web Graphics. Jennifer Niederst Robbins

HP Insight Diagnostics Online Edition. Featuring Survey Utility and IML Viewer

Session 85 IF, Predictive Analytics for Actuaries: Free Tools for Life and Health Care Analytics--R and Python: A New Paradigm!

Comparative Analysis Report:

MayaVi: A free tool for CFD data visualization

Course: CSC 224 Internet Technology I (2 credits Compulsory)

Unlocking the Java EE Platform with HTML 5

Embedded BI made easy

Writing reproducible reports

Assignment 5: Visualization

Professional CAD System

Geo Analysis, Visualization and Performance with JReport 13

Develop IBM i Mobile and Desktop Applications with a Single Code Base. BCD Software, LLC. All rights reserved.

Team Members: Christopher Copper Philip Eittreim Jeremiah Jekich Andrew Reisdorph. Client: Brian Krzys

JW Player Quick Start Guide

Transcription:

Interactive Applications for Modeling and Analysis with Shiny Presenter: Nicole Bishop Cindy Fryer, Paul Guill NASA GSFC Code 405 August 26, 2015

Introduction RStudio/Shiny offers quick and easy ways to build interactive applications for statistical models. What is R? Programming language for data analysis and statistical computing Free and open source Widely used in academia, industry and the government Powerful language with flexible syntax A collection of over 7,000+ libraries Steep learning curve but a lot of learning materials available

RStudio Integrated Development Environment (IDE) for R Free and open source Includes R console, a code editor, file browser, help files and graphical display

RStudio Advanced Features Version control with Git and SVN Reproducible reporting tools (knitr, Sweave) Incorporate Markdown or L A TEX markup languages Embed R code and equations into documents Automatically regenerate if assumptions, data or code change Output as HTML, PDF or MS Word

Data Analysis Scientific Instruments Data Preprocessing Read-in, clean and transform data Exploratory Analysis Descriptive statistics Graphical displays log(costfy13) 13 12 11 10 9 8 0 2 4 6 log(mass) Explorer 1 2 InstData <- read.csv("inst_data.csv", header = TRUE, row.names = 1) summary(instdata) InstData$Optical <- ifelse(instdata$instfamily == "Optical", 1, 0) InstData$Explorer <- as.factor(instdata$explorer) InstData$log_mass <- log(instdata$mass) ggplot(instdata, aes(log(mass), log(costfy13), color = Explorer)) + geom_point()

Fit and Evaluate Models Model Selection and Validation Variable selection, dimension reduction methods Resampling methods (e.g. cross validation) Model Fitting Model diagnostics Predict New Observations regfit <- regsubsets(log(costfy13) ~ log(mass) + log(variable1) + log(variable2) + log(variable3) + Variable4 + Variable5, data = InstData, nbest = 3) summaryhh(regfit) lm_model <- lm(log(costfy13) ~ log(mass), data = InstData, x = TRUE, y = TRUE) summary(lm_model) plot(lm_model) input_var <- data.frame(mass = 50) log_median <- predict.lm(lm_model, input_var, interval = "prediction")[1] median <- exp(log_median)

What is Shiny? R package created by RStudio Framework for building browser-based applications Turns R code into interactive and dynamic displays Applications can be developed entirely with R code Can incorporate transparency

How to Make Analyses Interactive ggplot(iris, aes(x = Sepal.Length, fill = as.factor(sepal.width), group = as.factor(sepal.width))) + geom_density(alpha = 0.75) + theme(axis.line = element_line(colour = "gray", size = 0.75), panel.background = element_blank(), plot.background = element_blank())

Motivation for Using Shiny Transparent Not a black box Reproducible Ease of model validation Flexible Users interactively communicate with the data and analysis Can very quickly develop multiple models with the same database Tons of R packages available

Building a Shiny Application

Additional Features of Shiny Interactive visualizations, data manipulation, pivot tables, download datasets Dynamic report generation using knitr Fully extensible and customizable with HTML, JavaScript and CSS

Deploying Shiny Applications Various Options Available Run locally, requires R software to be installed Enterprise hosting service (Linux server, RStudio s Shiny server)

Shiny Demo Development of instrument cost model using NASA s ONCE database RStudio 1 Data analysis 2 Model development 3 Generate report Shiny Application

Conclusion Shiny is an economical (free) Shiny provides an easy way for R users to build interactive applications for statistical modeling Easy for non-r users to use R/RStudio/Shiny is under rapid development and is gaining popularity, resulting in more and more capabilities being added Try it yourself! Download at https://www.rstudio.com/products/rstudio/download/

References http://www.rstudio.com/ http://rmarkdown.rstudio.com/ http://shiny.rstudio.com/