Question:
I am trying to make a plot in Shiny and I would like to be able to plot all the data set as well as group data sets based onby
. How to get around this? Many thanks in advance. 

PS: as an alternative to the
selectizeInput
please check shinyWidgets::pickerInput with its select/deselect all option.If you have better answer, please add a comment about this, thank you!