Learn R Programming

AHMbook (version 0.2.10)

dragonflies: Fictional data for dragonflies

Description

A toy data set with fictional data for 9 individuals of the dragonfly Onychogomphus uncatus from 3 populations in the Spanish Pyrenees.

Usage

data(dragonflies)

Arguments

Format

The format is seven vectors of length 9:

pop

a factor indicating which population the individual was drawn from.

sex

a factor indicating the sex of each individual.

wing

wingspan.

body

body length.

mites

number of mites (ectoparasites) counted on each individual.

color

proportion of body yellow as opposed to black.

damage

the number of wings (out of 4) damaged.

References

Kéry, M. & Royle, J.A. (2016) Applied Hierarchical Modeling in Ecology AHM1 - 3.1

Examples

Run this code
data(dragonflies)
lm(wing ~ pop + body)

Run the code above in your browser using DataLab