R Markdown

This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.

When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:

pulse_rates = c(88, 76, 84, 64, 60, 64, 60, 68, 74, 68, 68, 72, 76, 72, 52, 72, 64, 60, 76, 88, 72, 64, 60, 60, 72, 92, 80, 72, 64, 68)


plot(ecdf(pulse_rates), main = "ECDF of Peruvian Indians Pulse Rates",
     xlab = "Pulse Rates", ylab = "Empirical CDF")

Including Plots

You can also embed plots, for example:

Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.

plot(density(pulse_rates), main = "Peruvian Indian Pulse Rates Normal Distribution",
     xlab = "Frequency by Pulse Rates")