R/FileRepeatedInput.R
FileRepeated.Rd
File upload server module for repeated measure analysis.
FileRepeated(input, output, session, nfactor.limit = 20)
input | input |
---|---|
output | output |
session | session |
nfactor.limit | nfactor limit to include, Default: 20 |
File upload server module for repeated measure analysis.
File upload server module for repeated measure analysis.
library(shiny) library(DT) library(data.table) library(readxl) library(jstable) ui <- fluidPage( sidebarLayout( sidebarPanel( FileRepeatedInput("datafile") ), mainPanel( tabsetPanel( type = "pills", tabPanel("Data", DTOutput("data")), tabPanel("Label", DTOutput("data_label", width = "100%")) ) ) ) ) server <- function(input, output, session) { data <- callModule(FileRepeated, "datafile") output$data <- renderDT({ data()$data }) output$label <- renderDT({ data()$label }) }