This function calculates the moon phase, in percentage of full. It is a wrapper
for function swe_pheno_ut of package swephR.
Usage
moonphase(time, timezone, calendar)
Arguments
time
Either a string containing the date and time in the format "YYYY-MM-DD HH:MM:SS"
(see timestring), or a numeric containing the julian date (see time2jd).
timezone
(Optional) Timezone of input either as a known acronym (e.g. "GMT", "CET") or
a string with continent followed by country capital (e.g. "Europe/London"). See
timezones for details. Only needed if time is a string. Defaults to system timezone.
calendar
(Optional) Calendar used in parameter time. G for gregorian and J for julian.
Only needed if time is a string. Defaults to Gregorian.