powered by
Helper function for the transformation from PoR to geographical coordinate system or vice versa
geographical_to_PoR_quat(x, PoR)PoR_to_geographical_quat(x, PoR)
PoR_to_geographical_quat(x, PoR)
two-element numeric vector
two-column vectors containing the lat and lon coordinates
ep.geo <- c(20, 33) q.geo <- c(10, 45) q.por <- geographical_to_PoR_quat(q.geo, ep.geo) q.por PoR_to_geographical_quat(q.por, ep.geo)
Run the code above in your browser using DataLab