Learn R Programming

MASS (version 7.3-60.0.1)

eagles: Foraging Ecology of Bald Eagles

Description

Knight and Skagen collected during a field study on the foraging behaviour of wintering Bald Eagles in Washington State, USA data concerning 160 attempts by one (pirating) Bald Eagle to steal a chum salmon from another (feeding) Bald Eagle.

Usage

eagles

Arguments

Format

The eagles data frame has 8 rows and 5 columns.

y

Number of successful attempts.

n

Total number of attempts.

P

Size of pirating eagle (L = large, S = small).

A

Age of pirating eagle (I = immature, A = adult).

V

Size of victim eagle (L = large, S = small).

References

Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S-PLUS. Fourth Edition. Springer.

Examples

Run this code
eagles.glm <- glm(cbind(y, n - y) ~ P*A + V, data = eagles,
                  family = binomial)
dropterm(eagles.glm)
prof <- profile(eagles.glm)
plot(prof)
pairs(prof)

Run the code above in your browser using DataLab