`if (interactive()) {
ui <- fluidPage(
numericInput("obs", "Observations:", 10, min = 1, max = 100),
numericInput("obs1", "Observations1:", 10, min = 1, max = 100),
textInput("final", "Sum")
)
server <- function(input, output) {
}
shinyApp(ui, server)
}
`
How do I use the inputs from Observations and Observations1 and paste the value in the Sum.
I tried, input$obs + input$obs1 in server and it didn't work.
Thanks!