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:

set.seed(1234)
dat <- rnorm(100)
summary(dat)
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
## -2.3460 -0.8953 -0.3846 -0.1568  0.4712  2.5490

Including Plots

You can also embed plots, for example:

plot(dat)

hist(dat)