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.
\[\int_0^\infty x^2 dx\]
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:
library(ggplot2)
load("student.RData")
summary(grade)
## country gender math stat econ
## AT:24 female:50 Min. :2.580 Min. :2.860 Min. :3.750
## CH:39 male :43 1st Qu.:3.880 1st Qu.:3.970 1st Qu.:4.410
## DE:30 Median :4.620 Median :4.710 Median :5.060
## Mean :4.554 Mean :4.586 Mean :4.978
## 3rd Qu.:5.350 3rd Qu.:5.260 3rd Qu.:5.530
## Max. :6.000 Max. :6.000 Max. :6.000
## art student_id isMale
## Min. :2.860 Min. : 1 Mode :logical
## 1st Qu.:3.880 1st Qu.:24 FALSE:50
## Median :4.800 Median :47 TRUE :43
## Mean :4.646 Mean :47
## 3rd Qu.:5.540 3rd Qu.:70
## Max. :6.000 Max. :93
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.