使用 R 的 Shiny 建立網頁應用程式
Kaelen Medeiros
Data Scientist
Age > 0
server <- function(input, output, session) {
output$age <- renderTable({
validate(
need(input$age != "", "Be sure to select an age.")
)
mental_health_survey %>%
summarize(avg_age = mean(Age))
})
}

shinyWidgetsGallery()

使用 R 的 Shiny 建立網頁應用程式