-
-
Save piroyoung/8399873 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
# Define UI for application that plots random distributions | |
shinyUI(pageWithSidebar( | |
# Application title | |
headerPanel("Histgram of sample mean about dicerolling"), | |
# Sidebar with a slider input for number of observations | |
sidebarPanel( | |
sliderInput("obs", | |
"Number of observations:", | |
min = 50, | |
max = 1000, | |
value = 200) | |
), | |
# Show a plot of the generated distribution | |
mainPanel( | |
plotOutput("distPlot") | |
) | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment