I'm havin the following Error message: argument "mainPanel" is missing, with no default, for the following script:
shinyUI(fluidPage(
titlePanel(title = h4("Demonstration of renderPlot() - a histogram", align="center")),
sidebarLayout(
sidebarPanel(
selectInput("var", "1.Select the variable from the iris dataset", choices= c("Sepal.Lenght" = 1, "Sepal.Width" = 2, "Petal.Length" = 3, "Petal.Width" = 4, selected =1)),
br(),
sliderInput("bins", "2.Select the number of BINs for histogram", min=5, max =25, value=15),
br(),
radioButtons("color", "3.Select the color of histogram", choices=c("Green", "Red", "Yellow", selected = "Green")
),
mainPanel(
plotOutput("myhist")
)
))
))
Could anyone please help me?
I really appreciate :)
--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/060d0a72-82a6-48e5-b61f-254412b6e167%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks a lot man! :)