# NOT RUN {
dec <- az2dec(az=92, loc=c(35,-8), alt=2)
# flat horizon with 2 degrees of altitude
hor <- createHor(az=c(0,360), alt=c(2,2), loc=c(35,-8,25))
dec <- az2dec(92, loc=hor)
# Can also be used for an array of azimuths:
decs <- az2dec(az=c(87,92,110), loc=hor)
# }
Run the code above in your browser using DataLab