Conditionalpanel Javascript Conditions In Shiny: Is There R %in% Operator In Javascript?
I am trying to build a shiny application using the conditionalPanel function from shiny package. The condition should be written in JavaScript but I would like to be able to use a
Solution 1:
According to this answer this condition should work (and it works for me)
condition = "input.ModelVariables.indexOf('TP53') > -1"
Post a Comment for "Conditionalpanel Javascript Conditions In Shiny: Is There R %in% Operator In Javascript?"