View source: R/shoreline_finder.R
shoreline_finder | R Documentation |
Find closest shoreline along bearing
shoreline_finder(
shoreline,
bearing,
platform_x = -129.3720833,
platform_y = 53.2369,
min_km = 0.5,
sightline_km = 50,
verbose = TRUE,
toplot = FALSE
)
shoreline |
An |
bearing |
A numeric vector of the bearings of interest, in degrees (0-360). |
platform_x |
Longitude of observation platform, in decimal degrees (the default pertains to Fin Island Research Station). |
platform_y |
Latitude to observation platform. in decimal degrees. |
min_km |
The minimum km to consider; this allows you to ignore shoreline within a certain distance of your platform. |
sightline_km |
The length of the sightline along your bearing to consider. Large numbers are safer, but could slow things down if your shoreline is complex. |
verbose |
Boolean: Print updates to Console? |
toplot |
boolean: Create diagnostic plots? |
Vector of coordinates of closest shoreline along bearing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.