
converts from (x,y)
in degrees to polar coordinates. This is a necessary step to compute average fiber paths as a function of their angle of incidence in the optic nerve head with the Jansonius map
cart2jpolar( xy )
Visual field location in Cartesian coordinates
Data frame with the radial and angular coordinates
Input xy needs to be a data frame. It returns a data frame with the radial and angular coordinates
# NOT RUN {
cart2jpolar( data.frame( x = c( 0, 10 ), y = c( 0, 10 ) ) )
# }
Run the code above in your browser using DataLab