Readme for Assignment2_app

How to run the App

This is a document explaining how to run the R shiny app in this folder.

Please run the following lines of code. R shiny app will be executed in the browser

library(shiny);library(AppliedPredictiveModeling);library(caret); runGitHub('building-data-product-coursera', 'mrhash101')

What the App does

It asks the user to choose the outcome and then creates a linear model using that particular outcome with all the other variables as predictors. It uses the mtcars dataset for example purposes. The dataset is divided into training set (75%) and test set (25%)

Output

A graph of predicted vs observed values for the testing set is shown. The RMSE for the particular model is shown on the graph for model evaluation purposes