#
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
# Define UI for application that draws a histogram
shinyUI(fluidPage(
# Application title
titlePanel("IRIS dataset render plot"),
# Sidebar with a slider input for number of bins
sidebarLayout(
sidebarPanel(
selectInput("variable","1.Select Variable from the dataset",
choices = c("Sepal.Length"=1,"Sepal.Width"=2,
"Petal.Length"=3, "Petal.Width"=4), selected = 1),
sliderInput("bins",
"Number of bins for Histogram:",
min = 1,
max = 20,
value = 5),
radioButtons("color", "3.Select the color of Graph",
choices = c('blue','red','green'),
selected = 'blue')
),
# Show a plot of the generated distribution
mainPanel(
plotOutput("distPlot")
)
)
))