I write brilliant and want a slider for the date. The date in my data is monthly, and I would like to take a step forward one month at a time. docs for entering the slider say that the step value is either in the second or in days, depending on the types of min / max parameters. I currently have:
sliderInput("slider", "Time", min=as.Date("2005-01-01"), max=as.Date("2014-12-01"), value=as.Date("2005-01-01"), step = 30,...)
I want to be able to step by month, not day, but this does not seem possible from what they give me. Is there a js fragment that I could add that would give me this functionality?
Explanation Note: I have read the docs for this function and in the best way understand that there are no basic functions for this. When testing, the time format parameter changes only labels, not values. I saw a couple of posts that addressed the values โโof specific widgets and wondered if this was possible. For instance)
<script type="text/javascript"> $(document).ready(function() { var slider = $("#slider").slider();
source share