visitData: Simulated occupancy survey data

Description Format Examples

Description

Data set representing a simulated survey of the 40 x 40 study area. Approximately 1/3 of the 1600 sites were visited at least once. Those sites that were surveyed were visited a random number of times with an average of 2.5 visits. Detection was simulated as a function of 2 covariates, a continuous one (cov1) and a factor (cov2). These are NOT the same as the cov1 and cov2 of the habData data frame. The coefficients used were beta = c(1, 0, 0.5, 1, 0). Thus detection given occupancy of site i at time j = pnorm(0,X%*%beta,lower=FALSE).

Format

A data frame with 1340 observations on the following 6 variables.

site

Site labels

x

Longitude coordinate

y

Latitude coordinate

detCov1

a numeric vector

detCov2

a factor with levels 0 1 2 3

obs

a numeric vector

Examples

1
2
3
4
5
6
7
8
9
data(visitData)
data(occupancyData)
##
## Blue points represent visited sites and green circles represent confirmed occupancy.
##
image(x=seq(0.5,39.5,1), y=seq(0.5,39.5,1), z=t(matrix(occupancyData$psi,40)), 
	xlab="x", ylab="y", main="Occupancy process with visits")
points(visitData$x[visitData$obs==1], visitData$y[visitData$obs==1], col="green")
points(visitData$x, visitData$y, col="blue", pch=20, cex=0.25)

dsjohnson/stocc documentation built on May 15, 2019, 3:28 p.m.