Let’s load the data. For this data set, we will use the tabsetPanel for multiple tabs.
training_data <- read.csv("dataforshiny/sample-numerai-training-data.csv", header=T)
ui <- fluidPage(
tabsetPanel(
tabPanel("tab1",
sidebarPanel(
# Define some inputs here),
mainPanel(
# output (from the server) go here)
),
tabPanel("tab2",
sidebarPanel(
# Define some inputs here),
mainPanel(
# output (from the server) go here)
)
)
)
server <- function(input, output) {
# do something
}