FreddyHernandez commited on
Commit
7a4aac4
1 Parent(s): 35f7f86

Delete server.R

Browse files
Files changed (1) hide show
  1. server.R +0 -28
server.R DELETED
@@ -1,28 +0,0 @@
1
- #
2
- # This is the server logic of a Shiny web application. You can run the
3
- # application by clicking 'Run App' above.
4
- #
5
- # Find out more about building applications with Shiny here:
6
- #
7
- # http://shiny.rstudio.com/
8
- #
9
-
10
- library(shiny)
11
-
12
- # Define server logic required to draw a histogram
13
- function(input, output, session) {
14
-
15
- output$distPlot <- renderPlot({
16
-
17
- # generate bins based on input$bins from ui.R
18
- x <- faithful[, 2]
19
- bins <- seq(min(x), max(x), length.out = input$bins + 1)
20
-
21
- # draw the histogram with the specified number of bins
22
- hist(x, breaks = bins, col = 'darkgray', border = 'white',
23
- xlab = 'Waiting time to next eruption (in mins)',
24
- main = 'Histogram of waiting times')
25
-
26
- })
27
-
28
- }