visitData | R Documentation |
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)
.
A data frame with 1340 observations on the following 6 variables.
Site labels
Longitude coordinate
Latitude coordinate
a numeric vector
a factor with levels 0
1
2
3
a numeric vector
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.