Make statistics in Rmd files look prettier. Remember to tell your chunks to render results='asis'
if(!require(prettyMD)) {
devtools::install_github('mjaquiery/prettyMD')
library(prettyMD)
}
```{r results = 'asis')
data <- data.frame(x = rnorm(100), y = rnorm(100, 0.2)) # two normal distributions with some overlap
md.ttest(data$x, data$y, c('*Mean|Control*', '*Mean|Treatment*'), paired = T)
```
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.