beckamarston / performance-analysis

0 stars 0 forks source link

Errors when trying to include option for a median line #5

Open beckamarston opened 3 years ago

beckamarston commented 3 years ago

https://github.com/beckamarston/performance-analysis/blob/a9bc5b76e746d86fe1dfb1ca67a0543a6915f4d1/3.%20shiny#L77

I could include a click option for including a median in original coding, but I can't get it to work when combining when the for a reactive variable

beckamarston commented 3 years ago

have also tried alternative code below: if(input$addmedian) { + geom_vline(xintercept=median(x_reactive())), color="blue", linetype="dashed", size=1)}