shinyApp-script.R: code fixes
shinyApp-script.R: code fixes

haoliangsky1/stat159-fall2016-proj3,haoliangsky1/stat159-fall2016-proj3,haoliangsky1/stat159-fall2016-proj3,haoliangsky1/stat159-fall2016-proj3