Learn R Programming

Flury (version 0.1-3)

snailsf: Aquatic snails hiding behaviour

Description

Three subjsets of aquatic snail (Potamopyrgus antipodarum) were studied. Data were collected on diseased, juvenile and brooding females to assess the influence of infection on the behaviour of the snails. To avoid predation, snails are usually less likely to be found on the tops of rocks during the day.

Usage

data(snailsf)

Arguments

Format

'snailsf' is a data frame with 27 observations on the following 6 variables.
Infected
a factor with levels 0 (not infected) and 1 (infected)
Juvenile
a factor with levels 0 and 1 (juvenile)
Brooding.Female
a factor with levels 0 1
Time
Time of day, in 24 hour clock notation
Found
Number of snails found on the top of a rock
Collected
Number of snails collected

Source

Data courtesy by E.Levri and C.Lively, Indiana University Department of Biology.

Details

References

Flury, B.D. (1997) A First Course in Multivariate Statistics, New York: Springer

Examples

Run this code
data(snailsf)
## Not run: 
# S <- sin(snailsf$Time * pi/12)
# C <- cos(snailsf$Time * pi/12)
# snail.glm <- glm(cbind(Found, Collected-Found) ~ Infected + C + S,
#   family = binomial, data = snailsf)
# summary(snail.glm)## End(Not run)

Run the code above in your browser using DataLab