Blog Archives

Moon phase calculation

December 21, 2013
By
Moon phase calculation

The illuminated fraction of the moon can be calculated with moonAngle() in the oce package, as illustrated graphically and in R code below. 1 2 3 4 5 6 7 library(oce) par(mar=c(3, 3, 1, 1), mgp=c(2, 0.7, 0)) # tighten margins t

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)