11.10 SERVER
Reactive output automatically responds when users change widget input values
BUT we need to tell the server what to do with the input values
server <- function(input, output) {**construction of output objects in here**})
Describe the server how to build the object
- The object will be reactive if the code that builds it calls a widget value
output$distPlot <- renderPlot({...})
(store in output list)- render functions wrap outputs and correspond to the type or reactive output
renderImage({...})
creates images (saved as a link to a source file)renderPlot({...})
creates plotsrenderPrint({...})
creates any printed outputrenderTable({...})
creates data frame, matrix, other table like structuresrenderText({...})
creates character stringsrenderUI({...})
creates a Shiny tag object or HTML