Learn R Programming

cayleyR (version 0.2.1)

calculate_angular_distance_z: Angular Distance Between Two Celestial Points

Description

Computes the angular distance on the celestial sphere between two points given as coordinate lists (each with a z component).

Usage

calculate_angular_distance_z(result1, result2)

Value

Numeric, angular distance in radians

Arguments

result1

List with component z (complex number)

result2

List with component z (complex number)

Examples

Run this code
c1 <- convert_LRX_to_celestial(10, 5, 3)
c2 <- convert_LRX_to_celestial(1, 1, 2)
calculate_angular_distance_z(c1, c2)

Run the code above in your browser using DataLab