| lizards | R Documentation |
The lizards data frame has 23 rows and 6 columns.
Variables grahami and opalinus are counts
of two lizard species at two different perch heights, two
different perch diameters, in sun and in shade, at three
times of day.
data(lizards)
This data frame contains the following columns:
grahamicount of grahami lizards
opalinuscount of opalinus lizards
heighta factor with levels "<5ft", ">=5ft"
diametera factor with levels "<=2in", ">2in"
lighta factor with levels "sunny", "shady"
timea factor with levels "early", "midday",
"late"
McCullagh, P. and Nelder, J. A. (1989) Generalized Linear Models (2nd Edition). London: Chapman and Hall.
Originally from
Schoener, T. W. (1970) Nonsynchronous spatial overlap of lizards in patchy habitats. Ecology 51, 408–418.
data(lizards)
glm(cbind(grahami, opalinus) ~ height + diameter + light + time,
family = binomial, data=lizards)
brglm(cbind(grahami, opalinus) ~ height + diameter + light + time,
family = binomial, data=lizards)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.