Description Usage Arguments Value
Calculate the distance from fields to goose roosts (in this case) Using the centroids from the polyref file distances can be calculated outside of ALMaSS.
1 2 |
roost |
data.table The GooseRoosts.txt file |
fields |
data.table If fieldobs = FALSE then the GooseFieldForageData.txt file otherwise a data.table with field observations converted to ALMaSS coordinates using the UtmToAlmass function. |
fieldobs |
logical If TRUE then input is fieldobservations otherwise output from ALMaSS simulations |
polyref |
data.table The object with the polyref file (only if fieldobs = FALSE) |
species |
character A vector of species names for which the distances should be calculated for. Either 'Barnacle', 'Pinkfoot' or 'Greylag' |
data.table A data.table with the polyrefnumber or if fieldobs then PolyID, distances for each roost and a column with the shortest distance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.