make.statespace: Create a state-space grid for use by SCRbayes functions

Description Usage Arguments Details Author(s)

Description

This function will make a state-space grid given a set of coordinates that define the trap locations (or points representative of potential traps).

Usage

1
make.statespace(ll = NA, buffer = 0.1, minx = NA, maxx = NA, miny = NA, maxy = NA, nx = 20, ny = NULL)

Arguments

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.

Details

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.

Author(s)

Andy Royle, aroyle@usgs.gov


jaroyle/SCRbayes documentation built on May 18, 2019, 4:48 p.m.