simSCR: Simulated Spatial Capture Recapture data for use as example.

Description Usage Format Source Examples

Description

A simulated data set for use in the examples.

Usage

1
data("simSCR")

Format

A list with the following components:

patchDF

a data frame with the x and y coordinates of the vertices of the polygon containing suitable habitat.

patchSP

a SpatialPolygons object describing the habitat patch.

patchR

a RasterLayer with the distance from the edge of the habitat patch.

patchRS

a RasterStack with 2 layers: (1) rand = a random field, (2) edge = the distance from the edge.

Arkadia

a data frame with the x and y coordinates of the vertices of the boundary of Arkadia municipality.

trueACs

a data frame with the x and y coordinates of the true activity centres.

traps

a data frame with the x and y coordinates of the 'proximity' traps; trap identifiers are used as row names. See traps for details.

Y

Simulated capture histories: an animals x traps matrix with the number of times each animal was caught in each trap out of a total of 90 occasions.

JAGSmask

A JAGSmask object corresponding to the study.

sims.list

A list of MCMC iterations returned by JAGS.

Source

Simulated data.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data(simSCR)
str(simSCR, 2)

require(sp)
plot(simSCR$patchSP)
points(simSCR$patchDF, col='blue')
points(simSCR$traps, pch=3, col='red')

plot(simSCR$JAGSmask)

## for JAGSoutput, see the examples in convertOutput.

mikemeredith/makeJAGSmask documentation built on May 19, 2021, 1:10 a.m.