Learn R Programming

stocc (version 1.31)

occupancyData: Simulated occupancy for the 40 x 40 study area.

Description

This data represnts truth with regards to occupancy in the simulated study area. The probability of occupancy was simulated as pnorm(0, X + K alpha, 1, lower=FALSE), where K and alpha were constructed from a reduced rank is an ICAR process with precision (tau) = 0.3 and gamma = c(-1, 0, 0, 1)

Arguments

Format

A data frame with 1600 observations on the following 5 variables.

site

Site labels

x

Longitude coordinate

y

Latitude coordinate

psi

True probability of occupancy

psi.fix

The fixed effects portion of the occupancy process map

occ

True realized occupancy

Examples

Run this code
# NOT RUN {
data(occupancyData)
##
## Blue points represent realized 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 realized occupancy")
points(occupancyData$x[occupancyData$occ==1], occupancyData$y[occupancyData$occ==1], 
 pch=20, cex=0.25, col="blue")

# }

Run the code above in your browser using DataLab