day_in_synodic_cycle: Calculate the number of days in the synodic month

Description Usage Arguments Examples

View source: R/moon.R

Description

This uses the approximation described in the [lunar phase wikipedia page](https://en.wikipedia.org/wiki/Lunar_phase), i.e. the number of days since '1900/01/01' modulo the length of a synodic month ('29.530588853' days)

Usage

1

Arguments

date

a date

Examples

1
2
3
4
## Not run: 
day_in_synodic_cycle( today() )

## End(Not run)

hadley/emo documentation built on Dec. 16, 2019, 3:42 p.m.