lizards {brglm} | R Documentation |
Habitat Preferences of Lizards
Description
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.
Usage
data(lizards)
Format
This data frame contains the following columns:
grahami
count of grahami lizards
opalinus
count of opalinus lizards
height
a factor with levels
"<5ft"
,">=5ft"
diameter
a factor with levels
"<=2in"
,">2in"
light
a factor with levels
"sunny"
,"shady"
time
a factor with levels
"early"
,"midday"
,"late"
Source
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.
Examples
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)
[Package brglm version 0.7.2 Index]