Hello!

I'm trying to calculate the distance between a start point and end point. I tried with geosphere package with distHaversine() function, but I don't know how to combinane longitude and latidudes that are in different columns of my dataframe. May you help me? I'm new in R programming.

Here a reproducible example of my dataframe:

```
coordinates <- data.frame(start_lng = c(-87.65650, -87.63193, -87.63193) , start_lat = c(41.86125, 41.87817, 41.87817), end_lng = c(-87.64117, -87.64117, -87.64117), end_lat = c(41.88338, 41.88338, 41.88338))
```

Thanks in advance!

Ester