Learn R Programming

emo (version 0.0.0.9000)

moon: moon phase

Description

moon phase

Usage

moon(date, day = day_in_synodic_cycle(date))

Arguments

date

a date

day

number of days since new moon

If not supplied, `day` is calculated using the approximation of [day_in_synodic_cycle], i.e the number of days since a known new moon modulo `29.530588853` days

Value

a moon emoji

Examples

Run this code
# NOT RUN {
moon( today() )
# }

Run the code above in your browser using DataLab