Create a sequence from -1:1 of specified length. Midpoint (day0) can be
mm_GetInterval(days, day0 = NULL)
The number of days(divisions) fit between -1 and 1 (inclusive)
If NULL (default), the median integer will be calculated. This produces symmetrical ranges when days = odd number. Can be specified for asymmetric ranges.
mm_GetInterval(15) ## Symmetrical sequence from -1 to 1 with 0 in the middle. mm_GetInterval(15, day0 = 8) ## The same sequence, explicitly specifying the midpoint mm_GetInterval(15, day0 = 3) ## 15 divisions with an asymmetric distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.