Displaying 1 result from an estimated 1 matches for "datasetinput".
2013 Dec 20
0
Resumen de R-help-es, Vol 58, Envío 26
...de shiny en: http://rstudio.github.io/shiny/tutorial/#shiny-text
Por ejemplo (copiado de ahí)
en ui.R
sidebarPanel(
selectInput("dataset", "Choose a dataset:",
choices = c("rock", "pressure", "cars"))
),
y en server.R
datasetInput <- reactive({
switch(input$dataset,
"rock" = rock,
"pressure" = pressure,
"cars" = cars)
})
El 20/12/2013 12:00, r-help-es-request@r-project.org<mailto:r-help-es-request@r-project.org> escribió:
---------------------...