Adding multiple conditions in conditionalPanel in Shiny

后端 未结 1 569
予麋鹿
予麋鹿 2021-02-07 14:29

I was wondering if it is possible to add more than one condition in conditionalPanel in shiny. This is an example:

 conditionalPanel(condition = \"i         


        
相关标签:
1条回答
  • 2021-02-07 14:45

    You can have as complicated of a statement as you want as long as it evaluates to TRUE or FALSE at the end. You probably want to combine your two conditions either with AND && or OR ||, like this (for OR):

    "input.SELECT == 1 || input.FED == 2" 
    
    0 讨论(0)
提交回复
热议问题