Angular separation between sky coordinates
separation.RdAngular separation between sky coordinates
Examples
x <- ra_dec(10, 20)
y <- ra_dec(11, 21)
separation(x, y)
#> [1] 4932.552
g <- transform_to(x, galactic())
separation(g, y)
#> [1] 4932.552
separation.RdAngular separation between sky coordinates
x <- ra_dec(10, 20)
y <- ra_dec(11, 21)
separation(x, y)
#> [1] 4932.552
g <- transform_to(x, galactic())
separation(g, y)
#> [1] 4932.552