lunar.metric.mean {lunar} | R Documentation |
Average Lunar Metrics
Description
Returns an average measurement around specified dates.
Usage
lunar.metric.mean(
x,
towards = -6,
...,
by = c("date", "hours", "day", "night"),
type = c("illumination", "distance")
)
Arguments
x |
A vector of |
towards |
The directed window size from |
... |
Other optional arguments are ignored. |
by |
The exposure interval and integration basis.
The default is to represent a day's illumination by
the illumination at 12 noon UT. The other options integrate
midrange illuminations over hours. Options 'day' and 'night'
are not currently implemented, but will be used to limit
exposure intervals.
The use of an unimplemented option
in a function call will result in a |
type |
Whether illumination or distance metrics are to be returned.
The use of an unimplemented option
in a function call will result in a |
Details
This in an internal support function that integrates a lunar measurement over time using step sizes of days or hours.
See Also
Examples
## Not run:
lunar.metric.mean(as.Date("2004-03-24"), type="illumination")
## End(Not run)