Description Usage Format Source References Examples
These record the number of rocket booster 'O' rings seen to be damaged on each previous shuttle flight prior to the Challenger disaster of 20th January 1986
1 |
'challenger' is a data frame with 23 observations on the following 2 variables.
Temp
Ambient temperature (Fahrenheit) at launch time
Damage
Number of damaged 'O' rings (out of a total of 6)
Chatterjee, S., M.S. Handcock abd J.S. Simonoff (1995) A Casebook for a First Course in Statistics and Data Analysis New York: Wiley
Flury, B.D. (1997) A First Course in Multivariate Statistics, New York: Springer
1 2 3 4 5 6 7 | data(challenger)
## Not run:
ch <- glm(cbind(Damage, 6-Damage) ~ Temp, family = binomial, data = challenger)
with(challenger, plot(Temp, Damage/6))
lines(challenger$Temp, predict(ch, type = "response") )
abline(v=32, col = "red", lwd = 2)## temp when challenger launched
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.