Contents What is Rmarkup()? Markup of R-script Winding up
Rmarkup – a very simple tool for literate programming
Søren Højsgaard
Department of Mathematical Sciences Aalborg University Denmark
- 18. maj 2012
1 / 18
Rmarkup a very simple tool for literate programming Sren Hjsgaard - - PowerPoint PPT Presentation
Contents What is Rmarkup() ? Markup of R-script Winding up Rmarkup a very simple tool for literate programming Sren Hjsgaard Department of Mathematical Sciences Aalborg University Denmark 18. maj 2012 1 / 18 Contents What is
Contents What is Rmarkup()? Markup of R-script Winding up
1 / 18
Contents What is Rmarkup()? Markup of R-script Winding up
2 / 18
Contents What is Rmarkup()? Markup of R-script Winding up
3 / 18
Contents What is Rmarkup()? Markup of R-script Winding up Example
4 / 18
Contents What is Rmarkup()? Markup of R-script Winding up Example
5 / 18
Contents What is Rmarkup()? Markup of R-script Winding up Example Rmarkup Example 1
Søren Højsgaard
2012-05-18 01:55:58 CEST In this example we embed parts of the examples from the kruskal.test help page into an HTML document: > data(airquality) > kruskal.test(Ozone ~ Month, data = airquality) Kruskal-Wallis rank sum test data:Ozone by Month Kruskal-Wallis chi-squared = 29.2666, df = 4, p-value = 6.901e-06 which shows that the location parameter of the Ozone distribution varies significantly from month to month. Finally we include a boxplot of the data : > boxplot(Ozone ~ Month, data = airquality)
6 / 18
Contents What is Rmarkup()? Markup of R-script Winding up
7 / 18
Contents What is Rmarkup()? Markup of R-script Winding up Headings and text beautifiers
8 / 18
Contents What is Rmarkup()? Markup of R-script Winding up Headings and text beautifiers
9 / 18
Contents What is Rmarkup()? Markup of R-script Winding up Using noweb markups
10 / 18
Contents What is Rmarkup()? Markup of R-script Winding up Using noweb markups
11 / 18
Contents What is Rmarkup()? Markup of R-script Winding up Controlling graphics and using Sexpr{}
12 / 18
Contents What is Rmarkup()? Markup of R-script Winding up Controlling graphics and using Sexpr{}
13 / 18
Contents What is Rmarkup()? Markup of R-script Winding up Controlling graphics and using Sexpr{} Rmarkup Example 2
Søren Højsgaard
2012-05-18 01:55:59 CEST In this example we embed parts of the examples from the kruskal.test help page into an HTML document: > data(airquality) > kruskal.test(Ozone ~ Month, data = airquality) Kruskal-Wallis rank sum test data:Ozone by Month Kruskal-Wallis chi-squared = 29.2666, df = 4, p-value = 6.901e-06 which shows that the location parameter of the Ozone distribution varies significantly from month to month. Notice that there are 153 observations. Finally we include a boxplot of the data : > boxplot(Ozone ~ Month, data = airquality)
14 / 18
Contents What is Rmarkup()? Markup of R-script Winding up Restrictions
15 / 18
Contents What is Rmarkup()? Markup of R-script Winding up Genesis of Rmarkup()
16 / 18
Contents What is Rmarkup()? Markup of R-script Winding up Added bonus?
17 / 18
Contents What is Rmarkup()? Markup of R-script Winding up Future of Rmarkup() and final remarks
18 / 18