habData: A simulated data set of environmental covariates

Description Format Examples

Description

This data represents a simulated study area. The study area is a 40 x 40 grid of pixels. There are two variables, a factor variable (e.g., a habitat layer), as well as, a continuous covariate.

Format

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

site

Site labels

x

Longitude coordinate

y

Latitude coordinate

habCov1

a factor with levels 1 2 3

habCov2

a numeric vector

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(habData)
image(x=seq(0.5,39.5,1), y=seq(0.5,39.5,1), 
	z=t(matrix(as.numeric(habData$habCov1),40)), main="habData: Factor environmental covariate",
	xlab="x", ylab="y", col=rainbow(3))


dev.new()
image(x=seq(0.5,39.5,1), y=seq(0.5,39.5,1), 
	z=t(matrix(habData$habCov2,40)), main="habData: Continuous environmental covariate",
	xlab="x", ylab="y", col=terrain.colors(50))

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