Calculates distances from point locations to features. The usual approach for eg. resource selection function analyses is to generate a complete distance to features surface then sample it with your observed and random points. Since these raster based approaches can be pretty costly with large areas, and often lead to memory issues in R, the distanceto package opts to compute these distances using efficient, vector based approaches. As a helper, there's a decidedly lowres raster based approach for visually inspecting your region's distance surface. But the workhorse is distance_to.
Package details 


Author  Alec L. Robitaille [aut, cre] (<https://orcid.org/0000000247061762>) 
Maintainer  Alec L. Robitaille <robit.alec@gmail.com> 
License  GPL (>= 3) 
Version  0.0.3 
URL  https://github.com/robitalec/distanceto https://robitalec.github.io/distanceto/ 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.