How to find the distance from a point to a polygon, via another point, in R

المشرف العام

Administrator
طاقم الإدارة
I am trying to calculate the distances between a central point, and the edge of a polygon, along straight lines drawn between the central point and another set of points (where necessary extended beyond the outer point to the polygon).

My data look like this:

# Central pointCentre
 
أعلى