lunar.distance.mean: Average Lunar Distance

View source: R/lunar.package.R

lunar.distance.meanR 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"))

lunar documentation built on June 13, 2022, 5:06 p.m.