Description Usage Arguments See Also Examples

View source: R/lunar.package.R

Returns the average lunar distance around specified dates.

1 2 | ```
lunar.distance.mean(x, towards = -6, ..., by = c("date", "hours", "day",
"night"))
``` |

`x` |
A vector of |

`towards` |
The directed window size from |

`by` |
The exposure interval and integration basis. The default is to represent a day's distance by the distance at 12 noon UT. The other options integrate midrange distances over hours. |

`...` |
Other optional arguments are ignored. |

1 | ```
lunar.distance.mean(as.Date("2004-03-24"))
``` |

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.