Nithin
18 May,2021
In this application i have made use of the 'cars' dataset available in r. The data gives the speed of cars and the respective distances taken to stop them.Note that the datas were recorded in the 1920s.For more information on the data go to- http://127.0.0.1:18033/library/datasets/html/cars.html
In this application,i have constructed a scatterplot on the 'speed' vs 'dist' variable in the dataset.The input for the user is a slider.
str(cars)
'data.frame': 50 obs. of 2 variables:
$ speed: num 4 4 7 7 8 9 10 10 10 11 ...
$ dist : num 2 10 4 22 16 10 18 26 34 17 ...
plot(cars$speed,cars$dist,col='red',xlim=c(0,30),ylim=c(0,125),xlab="Speed",
ylab="Stopping Distance",main='Scatterplot')
The shiny application used in this presentation can be run at- > https://nvnshiny.shinyapps.io/ShinyPrj/
The github repository containing the code(server.R and ui.R) for this application is available at-
https://github.com/nvn02/Developing-Data-Products
Please copy and paste this above github link into address bar its failing to connect from rpubs.