# Simple use
zenaz(month=8, day=16, timeofday=12, lat=-33)
# Get half-hourly solar positions
hourpos <- zenaz(month=2, day=16, KHRS=48, lat=-33, long=155, tzlong=150)
with(hourpos, plot(hour, altitude, type='o',ylab=expression(Altitude~(degree))))
Run the code above in your browser using DataLab