EVOLUTION-MANAGER
Edit File: faithful.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Old Faithful Geyser Data</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for faithful {datasets}"><tr><td>faithful {datasets}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Old Faithful Geyser Data</h2> <h3>Description</h3> <p>Waiting time between eruptions and the duration of the eruption for the Old Faithful geyser in Yellowstone National Park, Wyoming, USA. </p> <h3>Usage</h3> <pre>faithful</pre> <h3>Format</h3> <p>A data frame with 272 observations on 2 variables. </p> <table summary="Rd table"> <tr> <td style="text-align: right;"> [,1] </td><td style="text-align: left;"> eruptions </td><td style="text-align: left;"> numeric </td><td style="text-align: left;"> Eruption time in mins </td> </tr> <tr> <td style="text-align: right;"> [,2] </td><td style="text-align: left;"> waiting </td><td style="text-align: left;"> numeric </td><td style="text-align: left;"> Waiting time to next eruption (in mins)</td> </tr> <tr> <td style="text-align: right;"> </td> </tr> </table> <h3>Details</h3> <p>A closer look at <code>faithful$eruptions</code> reveals that these are heavily rounded times originally in seconds, where multiples of 5 are more frequent than expected under non-human measurement. For a better version of the eruption times, see the example below. </p> <p>There are many versions of this dataset around: Azzalini and Bowman (1990) use a more complete version. </p> <h3>Source</h3> <p>W. Härdle.</p> <h3>References</h3> <p>Härdle, W. (1991). <em>Smoothing Techniques with Implementation in S</em>. New York: Springer. </p> <p>Azzalini, A. and Bowman, A. W. (1990). A look at some data on the Old Faithful geyser. <em>Applied Statistics</em>, <b>39</b>, 357–365. doi: <a href="https://doi.org/10.2307/2347385">10.2307/2347385</a>. </p> <h3>See Also</h3> <p><code>geyser</code> in package <a href="https://CRAN.R-project.org/package=MASS"><span class="pkg">MASS</span></a> for the Azzalini–Bowman version. </p> <h3>Examples</h3> <pre> require(stats); require(graphics) f.tit <- "faithful data: Eruptions of Old Faithful" ne60 <- round(e60 <- 60 * faithful$eruptions) all.equal(e60, ne60) # relative diff. ~ 1/10000 table(zapsmall(abs(e60 - ne60))) # 0, 0.02 or 0.04 faithful$better.eruptions <- ne60 / 60 te <- table(ne60) te[te >= 4] # (too) many multiples of 5 ! plot(names(te), te, type = "h", main = f.tit, xlab = "Eruption time (sec)") plot(faithful[, -3], main = f.tit, xlab = "Eruption time (min)", ylab = "Waiting time to next eruption (min)") lines(lowess(faithful$eruptions, faithful$waiting, f = 2/3, iter = 3), col = "red") </pre> <hr /><div style="text-align: center;">[Package <em>datasets</em> version 3.6.0 <a href="00Index.html">Index</a>]</div> </body></html>