How to draw a line in three dimensions by knowing its length and angle in relation to two planes?
The following is the sketch I drew. (I know the length of "oA", angle of a1 and a2)
By the way, are there any ways to statistically compare the mean angular difference of "oA"s and "oB"s?
Please use the R language.
edited:
I just used some simple geometric calculations, and I can get the coordinates of (X, Y, Z), but I really don't know how to group and compare the statistical differences of the angles of these lines in three-dimensional space

