This is my code:
library(shiny)
ui <- fluidPage(
uiOutput('tabset_panels'),
textOutput('text')
)
server <- function(input, output, session) {
output$tabset_panels <- renderUI({
tabsetPanel(
tabPanel(
title ='a'
),
tabPanel(
title ='b'
),
tabPanel(
title ='c'
),
tabPanel(
title ='d'
),
tabPanel(
title ='e'
)
)
})
output$text <- renderText({
})
}
shinyApp(ui, server)
I would like to once I click on a
bellow the letter a
is displayed and so on for all the others panels. So when I click on b
panel the letter b appears below and so on.So when I click on c
panel the letter c appears below and so on.So when I click on d
panel the letter d appears below and so on.
Any help?