snailsf {Flury} | R Documentation |
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.
data(snailsf)
'snailsf' is a data frame with 27 observations on the following 6 variables.
Infected
0
(not infected)
and 1
(infected)Juvenile
0
and 1
(juvenile)Brooding.Female
0
1
Time
Found
Collected
Data courtesy by E.Levri and C.Lively, Indiana University Department of Biology.
Flury, B.D. (1997) A First Course in Multivariate Statistics, New York: Springer
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)