Learn R Programming

Blossom (version 1.4)

bgrouse: Blue grouse migration data

Description

The distance and elevation change (in meters) for male and female blue grouse (Dendragapus obscurus) migrating from where they were marked on their breeding range to their winter range.

Usage

data(bgrouse)

Arguments

Format

A data frame with 21 observations on the following 3 variables.
sex
Bird gender, 4 = adult female, 3 = adult male.
distance
The distance traveled from their breeding to their winter range.
elev
The elevation change from breeding to winter range.

Source

Cade, B.S., and R.W. Hoffman. 1993. Differential migration of blue grouse in Colorado. Auk 110, 70--77.

Examples

Run this code
str(bgrouse)

plot(bgrouse$distance,bgrouse$elev,pch=c(17,19)[(bgrouse$sex==4)+1],
  col = c("red","blue")[(bgrouse$sex==4)+1],xlab = "Migration distance (m)",
  ylab = "Change in Elevation (m)",
  main = "Migration distance and elevation change for blue grouse")
  
legend(22000,150,c("Female","Male"),pch = c(17,19),col = c("red","blue"))

Run the code above in your browser using DataLab