Description Usage Format Source References Examples
Data on temperature
and number of O-ring failures
for 23 space shuttle launches.
1 |
A data frame with 23 observations on the following 2 variables.
temperature
a numeric vector
failures
a numeric vector
Dalal, S.R., E.B. Fowlkes, and B. Hoadley. 1989. Risk analysis of the Space Shuttle: Pre-Challenger prediction of failure. Journal of the American Statistical Association 408: 945-957.
Tufte, E.R. 1997. Visual Explanations: Images and Quantities, Evidence and Narrative. Graphics Press.
http://www.edwardtufte.com/tufte/
1 2 3 4 5 | data(ShuttleDisaster)
str(ShuttleDisaster)
xyplot( jitter(failures,amount=.1) ~ temperature, ShuttleDisaster,
ylab='number of failures'
)
|
Loading required package: nlme
Loading required package: lattice
Loading required package: grid
Loading required package: mosaic
Loading required package: dplyr
Attaching package: 'dplyr'
The following object is masked from 'package:nlme':
collapse
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Loading required package: ggformula
Loading required package: ggplot2
Loading required package: ggstance
Attaching package: 'ggstance'
The following objects are masked from 'package:ggplot2':
GeomErrorbarh, geom_errorbarh
New to ggformula? Try the tutorials:
learnr::run_tutorial("introduction", package = "ggformula")
learnr::run_tutorial("refining", package = "ggformula")
Loading required package: mosaicData
Loading required package: Matrix
The 'mosaic' package masks several functions from core packages in order to add
additional features. The original behavior of these functions should not be affected by this.
Note: If you use the Matrix package, be sure to load it BEFORE loading mosaic.
Attaching package: 'mosaic'
The following object is masked from 'package:Matrix':
mean
The following object is masked from 'package:ggplot2':
stat
The following objects are masked from 'package:dplyr':
count, do, tally
The following objects are masked from 'package:stats':
IQR, binom.test, cor, cor.test, cov, fivenum, median, prop.test,
quantile, sd, t.test, var
The following objects are masked from 'package:base':
max, mean, min, prod, range, sample, sum
'data.frame': 23 obs. of 2 variables:
$ temperature: int 66 70 69 68 67 72 73 70 57 63 ...
$ failures : int 0 1 0 0 0 0 0 0 1 1 ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.