Traditionally, a sliderInput function is
sliderInput(inputId, label, min, max, value, step = NULL, round = FALSE, format = NULL,
locale = NULL, ticks = TRUE, animate = FALSE, width = NULL, sep = ",",
pre = NULL, post = NULL, timeFormat = NULL, timezone = NULL, dragRange = TRUE)
If I specify
sliderInput("range","range",min=-3,max=3,value=c(-1,1))
it input a range from -1 to 1. However, there is a function takes an argument format as days_included=c(-2,-1,0,1,2). In this case, I cannot make this function work if I set
sliderInput("range","range",min=-3,max=3,value=c(-2,2))
since it doesn't really match the required format. So this is my question, anyway to make this function work? I tried "step" argument inside sliderInput but failed.