shuttle_sim_hists: Space shuttle: uncertainty in estimated probability of O-ring...

View source: R/shuttle_sim.R

shuttle_sim_histsR Documentation

Space shuttle: uncertainty in estimated probability of O-ring damage

Description

Illustrates the uncertainty in the estimated probability of an O-ring suffering thermal distress for a given launch temperature.

Usage

shuttle_sim_hists(x, temps, ...)

Arguments

x

A 2-column matrix returned from a call to shuttle_sim_plot

temps

A numeric vector of temperatures, in degrees Fahrenheit.

...

Further arguments to be passed to hist. [Apart from probability, xlab, ylab and main, which are set inside shuttle_sim_hists.]

Details

For details of the linear logistic model see Challenger Space Shuttle Disaster vignette and for simulation from this model see shuttle_sim.

Value

Nothing, just the plot.

See Also

shuttle_sim_plot and shuttle_sim.

The Challenger Space Shuttle Disaster vignette.

Examples

x <- shuttle_sim_plot(n_sim = 1000, plot = FALSE)
shuttle_sim_hists(x, temps = c(31, 50, 65, 80), col = 8)

paulnorthrop/stat0002 documentation built on Oct. 10, 2024, 1:27 p.m.