squirreloc {adehabitat}R Documentation

Radio-tracking of squirrels

Description

This data set contains the trajectories of 15 radio-monitored squirrels, as well as the vector maps of habitat composition.

Usage

data(squirreloc)

Format

This data set is a list of two objects:

locs
is a data frame containing the relocations of 15 squirrels (with three columns: id, x, y
map
is an object of class area containing the habitat composition of the area. The habitat types and colour coding are stored in the attribute "info" of this object

Details

The dataset squirreloc comes from the Ranges VI software. It has been used to illustrate the compositional analysis (see ?compana) and the eigenanalysis of selection ratios (see ?eisera). See also the dataset squirrel.

Source

Kenward, R.E., South, A.B. and Walls, S.S. (2003). Ranges6 v1.2 : For the analysis of tracking and location data. Online manual. Anatrack Ltd. Wareham, UK. ISBN 0-9546327-0-2.

Examples

data(squirreloc)

## habitat:
are <- squirreloc$map
co <- attr(are, "info")
plot(are, colp = co[,2])

legend(-10, 210, unique(co[,1]),
       unique(co[,2]), bg="white")


## relocations
locs <- squirreloc$locs
li <- split(locs[,2:3], locs[,1])
opar <- par(mfrow=n2mfrow(length(li)), mar=c(0,0,2,0))
lapply(1:length(li), function(i) {
plot(are, colp = co[,2], main=names(li)[i], axes=FALSE)
points(li[[i]], pch=16, cex=1.5)
box()
})
par(opar)


[Package adehabitat version 1.7 Index]