This is my first line. # comment shows line end This would be a new line. This wouldn’t be a new line.
This is my first paragraph.
This is my second paragraph
Italics = Italics or Italics
Bold = Bold or Bold
hist(rnorm(100))
http://mrccsc.github.io Github site
Before the first page break *** Before the second page break
##rMarkdown
hist(rnorm(1000))
##rMarkdown. Controlling R code output - eval
hist(rnorm(1000))
##rMarkdown. Controlling R code output - Displaying code.
##rMarkdown. Controlling R code output - message and warnings
library(ggplot2)
##rMarkdown. Controlling figure output.
hist(rnorm(100))
##rMarkdown. Automatically tidying code.
hist(rnorm(100))
##rMarkdown. Placing code and output together
<- rnorm(10)
temp
temp## [1] 0.34497598 0.32831977 1.06573715 0.07390504 -0.69529174 1.15284446
## [7] 0.12033514 -1.09455531 0.42518222 1.02283143
##rMarkdown. Inserting tables.
library(knitr)
<- rnorm(10)
temp <- rnorm(10)
temp2 <- cbind(temp,temp2)
dfExample kable(dfExample)
temp | temp2 |
---|---|
-0.5313308 | -0.3252042 |
0.1599223 | -0.0016388 |
0.8837504 | -0.8911719 |
1.0398426 | 0.7170456 |
-1.4831282 | 0.1823401 |
-0.5520632 | -1.2196075 |
0.2887592 | 0.2640067 |
-0.8552744 | 1.9080507 |
-0.4996532 | 2.3077226 |
0.9246004 | -1.9967768 |
##rMarkdown. Evaluating code within markdown text.
Here is some freeform markdown and the first result from an rnorm call is -1.0226724, followed by some more free form text.
##rMarkdown: cache
<- sample(1000,10^4,replace=T)
x length(x)
## [1] 10000