Learn R Programming

lunar (version 0.1-04)

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

x

A vector of Date values.

towards

The directed window size from x in days. By default the window looks back 7 days including x.

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.

See Also

lunar.distance

Examples

Run this code
# NOT RUN {
lunar.distance.mean(as.Date("2004-03-24"))
# }

Run the code above in your browser using DataLab