View source: R/lunar.package.R
lunar.metric.mean | R Documentation |
Returns an average measurement around specified dates.
lunar.metric.mean( x, towards = -6, ..., by = c("date", "hours", "day", "night"), type = c("illumination", "distance") )
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 |
This in an internal support function that integrates a lunar measurement over time using step sizes of days or hours.
lunar.illumination
lunar.distance
## Not run: lunar.metric.mean(as.Date("2004-03-24"), type="illumination") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.