lunar.distance.mean {lunar}R Documentation

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.

...

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.

See Also

lunar.distance

Examples

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

[Package lunar version 0.2-1 Index]