mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-12-28 15:53:33 +02:00
20 lines
331 B
Text
20 lines
331 B
Text
|
---
|
||
|
title: An R Markdown Example
|
||
|
author: Yihui Xie
|
||
|
date: '2017-06-21'
|
||
|
categories:
|
||
|
- Example
|
||
|
- R
|
||
|
tags:
|
||
|
- blogdown
|
||
|
slug: an-r-markdown-example
|
||
|
---
|
||
|
|
||
|
This is a simple R Markdown example, with a single R code chunk below.
|
||
|
|
||
|
```{r}
|
||
|
knitr::kable(head(mtcars))
|
||
|
```
|
||
|
|
||
|
The table shows the first 6 rows of the `mtcars` dataset in base R.
|