Description Usage Arguments Details Author(s)
This function will make a state-space grid given a set of coordinates that define the trap locations (or points representative of potential traps).
1 |
ll |
Coordinates of traps or similar points within the study area. |
buffer |
Relative size of the buffer to use in creating the state-space. A value of 0 produces the minimum area rectangle around the traps. |
minx |
Instead of ll one could provide the minimum and maximum x and y values to use. |
maxx |
|
miny |
|
maxy |
|
nx |
Number of state-space points in the x-direction. Don't make this too large. The total size of the state-space will be nx*ny points (see next argument). A reasonable total value of nx*ny is the expected population size N*4. So if you expect N = 100 individuals in the state-space around the traps, nx*ny should be around 400. |
ny=NULL |
Number of state-space points in the y-direction. It is recommended to leave this to NULL in which case ny is computed relative to nx. |
Lots of details here......A future version of this function will have the user input "average home range size" and compute everything you need.
The function returns the nG x 2 state-space grid which has a number of arguments. "area" is the area of each grid point in the units of "ll". "traps" is the matrix "ll". These arguments will be used by other functions of the SCRbayes package.
Andy Royle, aroyle@usgs.gov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.