Calculates a rotation matrix from horizontal (HOR) to J2000 mean equator (EQJ).
Details
This is one of the family of functions that returns a rotation matrix for converting from one orientation to another.
Source: HOR = horizontal system (x=North, y=West, z=Zenith).
Target: EQJ = equatorial system, using equator at J2000 epoch.
Examples
astro_rotation_HOR_EQJ(Sys.time(), latitude = -35.28, longitude = 149.12, height = 0)
#> [,1] [,2] [,3]
#> [1,] -0.2962250 0.4946004 0.817080916
#> [2,] 0.8562901 0.5164905 -0.002205216
#> [3,] -0.4231052 0.6990051 -0.576518788