I want to display a report using Shiny dashboard under one of the tabs. How should I do that. please help me. I am very new to R shiny!!
Thanks.
I want to display a report using Shiny dashboard under one of the tabs. How should I do that. please help me. I am very new to R shiny!!
Thanks.
In your UI function you can have a dashboard element inside which you can have a dashboardBody.
In dashboardBody you will can have tabs like :
dashboardBody(
fluidPage(
tabsetPanel(
tabPanel('tab 1',
dataTableOutput('datatable')),
tabPanel('tab 2',
dataTableOutput('datatable5'))
)
)
While in the server function you can create an output like:
output$datatable = renderDataTable(df1)
output$datatable5 = renderDataTable(df2)
where df1 and df2 are dataframes to be represented