Quantcast
Viewing all articles
Browse latest Browse all 3

Answer by Brian Stamper for R Shiny: eventReactive with two controls

I don't think you need eventReactive here - you could just use reactive, and it will respond to either value changing.

economics_points <- reactive(get_points(input$daterange, 1, input$sigmaThresholdSlider))

EDIT: not sure how to handle the ignoreNULL = FALSE bit, though, doesn't seem to be an option with reactive.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>