Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Solve the question by using R ( 1 ) Using the faithful data set compute the average waiting time between eruptions of the Old Faithful

Solve the question by using R
(1) Using the faithful data set compute the average waiting time
between eruptions of the
Old Faithful geyser. Report your result in a sentence of the following form
The average waiting time between eruptions of the Old Faithful geyser in the data
set faithful is X minutes.
with X replaced by the correct value computed with inline code in your .Rmd file.
Make sure to use proper markup to have Old Faithful and faithful in italics.
(2) Compute the first four eruption durations in the faithful data sets. Use a code chunk
that shows both the code and the results as produced by R. Dont forget to include a
sentence explaining what you are showing.
(3) Using the head function compute the first five rows of the faithful data frame and
show the result as a nicely formatted table. In this case your report should show only
the table, not the code that produces it. You can start with this code chunk:
{r, echo = FALSE}
d <-data.frame(x = c(1,2,3), y = c(4,5,6))
kbl <- knitr::kable(d, format ="html")
kableExtra::kable_styling(kbl, full_width = FALSE)
(4) Use the hist function to create a histogram of the eruption durations in the faithful
data set.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems 6th Asian Conference Aciids 2014 Bangkok Thailand April 7 9 2014 Proceedings Part I 9 2014 Proceedings Part 1 Lnai 8397

Authors: Ngoc-Thanh Nguyen ,Boonwat Attachoo ,Bogdan Trawinski ,Kulwadee Somboonviwat

2014th Edition

3319054759, 978-3319054759

More Books

Students also viewed these Databases questions

Question

5. Recognize your ability to repair and let go of painful conflict

Answered: 1 week ago