Learn R Programming

SMPracticals (version 1.4-3.1)

bliss: Bliss data on deaths of flour beetles

Description

These are the number of adult flour beetles which died following a 5-hour exposure to gaseous carbon disulphide.

Usage

data(bliss)

Arguments

Format

A data frame with 8 observations on the following 3 variables.

dose

concentration of carbon disulphide(mg. per litre)

m

Numbers of beetles exposed

r

Numbers of beetles dying

Examples

Run this code
data(bliss)
attach(bliss)
plot(log(dose),r/m,ylim=c(0,1),ylab="Proportion dead")
fit <- glm(cbind(r,m-r)~log(dose),binomial)
summary(fit)

Run the code above in your browser using DataLab