brglm (version 0.7.1)

lizards: 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)

Arguments

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"

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab