lunar.distance.mean: Average Lunar Distance
Description
Returns the average lunar distance around specified dates.
Usage
lunar.distance.mean(
x,
towards = -6,
...,
by = c("date", "hours", "day", "night")
)
Arguments
towards
The directed window size from x
in days.
By default the window looks back 7 days including x
.
...
Other optional arguments are ignored.
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.
Examples
Run this code# NOT RUN {
lunar.distance.mean(as.Date("2004-03-24"))
# }
Run the code above in your browser using DataLab