rcpp_closest_reef | R Documentation |
Rcpp get closest reef.
rcpp_closest_reef(x, y, coords_reef)
x , y |
Numeric with xy coords of current individual. |
coords_reef |
Matrix with ID and coords of reef cells. |
Get ID and distance to closet reef cell. The first element of the returning vector is the ID, the second the distance in meter.
vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.