Last data update: 2014.03.03

R: Blue grouse winter habitat selection data
habitatR Documentation

Blue grouse winter habitat selection data

Description

Example comparing used versus available blue grouse winter habitat described by the basal area measurements of four species of trees present in stands on winter range.

Usage

data(habitat)

Format

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

use

An indicator of which habitat was used by blue grouse (1) and which was available (2).

dfir

Basal area (m^2/ha) for Douglas-fir.

junip

Basal area (m^2/ha)for juniper.

aspen

Basal area (m^2/ha)for aspen.

other

Basal area (m^2/ha)for other trees.

Source

Cade, B.S., and R.W. Hoffman. 1990. Winter use of Douglas-fir forests by blue grouse in Colorado. Journal of Wildlife Management 54, 471–479.

Examples

Use<-c("Used","Available")
par(mfrow = c(2,2),mar = c(3,4,3,2))
boxplot(habitat$dfir~Use[habitat$use],col = "darkgreen",
    main = "Fir basal area measurement\n in used and available habitat",
    ylab = "Basal Area Measurement")
boxplot(habitat$junip~Use[habitat$use],col = "blue",
    main = "Juniper basal area measurement\n in used and available habitat",
    ylab = "Basal Area Measurement")
boxplot(habitat$aspen~Use[habitat$use],col = "orange",
    main = "Aspen basal area measurement\n in used and available habitat",
    ylab = "Basal Area Measurement")
boxplot(habitat$other~Use[habitat$use],col = "brown",
    main = "Other basal area measurement\n in used and available habitat",
    ylab = "Basal Area Measurement")

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(Blossom)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Blossom/habitat.Rd_%03d_medium.png", width=480, height=480)
> ### Name: habitat
> ### Title: Blue grouse winter habitat selection data
> ### Aliases: habitat
> ### Keywords: datasets
> 
> ### ** Examples
> 
> Use<-c("Used","Available")
> par(mfrow = c(2,2),mar = c(3,4,3,2))
> boxplot(habitat$dfir~Use[habitat$use],col = "darkgreen",
+     main = "Fir basal area measurement\n in used and available habitat",
+     ylab = "Basal Area Measurement")
> boxplot(habitat$junip~Use[habitat$use],col = "blue",
+     main = "Juniper basal area measurement\n in used and available habitat",
+     ylab = "Basal Area Measurement")
> boxplot(habitat$aspen~Use[habitat$use],col = "orange",
+     main = "Aspen basal area measurement\n in used and available habitat",
+     ylab = "Basal Area Measurement")
> boxplot(habitat$other~Use[habitat$use],col = "brown",
+     main = "Other basal area measurement\n in used and available habitat",
+     ylab = "Basal Area Measurement")
> 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>