Description Usage Arguments Value

Calculates the expected circular distance between a uniform rv and a point

1 | ```
getD(y, X, mod = 24)
``` |

`y` |
vector of times in [0,mod) |

`X` |
c(min,min+length). X[1] must be >= 0 and X[2] >= X[1]. It is possible
that X[2] can be > mod. I.e., do not do |

`mod` |
the period of time. E.g., mod=24 for time of day (in hours), mod=7 for day of week (in days) |

the expected absolute difference

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.