Description Usage Format Details Source Examples
This data set contains the trajectories of 15 radio-monitored squirrels, as well as the vector maps of habitat composition.
1 |
This data set is a list of two objects:
locsis a data frame containing the relocations of 15
squirrels (with three columns: id, x, y
mapis 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
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
.
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.