Learn R Programming

gamair (version 0.0-9)

bird: Bird distribution data from Portugal

Description

Data from the compilation of the Portuguese Atlas of Breeding Birds.

Usage

data(bird)

Arguments

Format

A data frame with 6 columns and 25100 rows. Each row refers to one 2km by 2km square (tetrad). The columns are:
  • QUADRICULAAn identifier for the 10km by 10km square that this tetrad belongs to.
  • crestlarkWere crested lark (or possibly thekla lark!) found (1), not found (0) breading in this tetrad, or was the tetrad not visited (NA).
  • linnetAs crestlark, but for linnet.
  • xlocation of tetrad (km east of an origin).
  • ylocation of tetrad (km north of an origin).

Source

The Atlas of the Portuguese Breeding Birds.

Details

At least 6 tetrads from each 10km square were visited, to establish whether each species was breeding there, or not. Each Tetrad was visited twice for one hour each visit. These data are not definitive: at time of writing the fieldwork was not quite complete.

The data were kindly supplied by Jose Pedro Granadeiro.

References

Wood, S.N. (2006) Generalized Additive Models: An Introduction with R

Examples

Run this code
  data(bird)
  species <- "crestlark"
  op<-par(bg="white",mfrow=c(1,1),mar=c(5,5,1,1))
  ind <- bird[[species]]==0&!is.na(bird[[species]])
  plot(bird$y[ind]/1000,1000-bird$x[ind]/1000,pch=19,cex=.3,col="white",
     ylab="km west",xlab="km north",cex.lab=1.4,cex.axis=1.3,type="n")
  polygon(c(4000,4700,4700,4000),c(250,250,600,600),col="grey",border="black")
  points(bird$y[ind]/1000,1000-bird$x[ind]/1000,pch=19,cex=.3,col="white")
  ind <- bird[[species]]==1&!is.na(bird[[species]])
  with(bird,points(y[ind]/1000,1000-x[ind]/1000,pch=19,cex=.3))
  par(op)

Run the code above in your browser using DataLab