I am trying to set custom values for shiny slider (1,5,10,15,20,25 and 30). I tried step but then the results either (0,5,10,15,20,25,30) or (1,6,11,16,21,26,31
step
The shinyWidgets package now solves this for you with a slider that allows custom values. Updated code for your third slider would look like this:
shinyWidgets
shinyWidgets::sliderTextInput(inputId = "decade", label = "Time (decade):", choices = c(1,5,10,15,20,25,30))