Skip to content

Commit 8f0eb16

Browse files
committed
update
1 parent 43e7efa commit 8f0eb16

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+254
-715
lines changed

content/about.md

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: "Hello R Markdown"
3+
author: "Frida Gomam"
4+
date: 2015-07-23T21:13:14-05:00
5+
categories: ["R"]
6+
tags: ["R Markdown", "plot", "regression"]
7+
---
8+
9+
```{r setup, include=FALSE}
10+
knitr::opts_chunk$set(collapse = TRUE)
11+
```
12+
13+
# R Markdown
14+
15+
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>.
16+
17+
You can embed an R code chunk like this:
18+
19+
```{r cars}
20+
summary(cars)
21+
fit <- lm(dist ~ speed, data = cars)
22+
fit
23+
```
24+
25+
# Including Plots
26+
27+
You can also embed plots. See Figure \@ref(fig:pie) for example:
28+
29+
```{r pie, fig.cap='A fancy pie chart.', tidy=FALSE}
30+
par(mar = c(0, 1, 0, 1))
31+
pie(
32+
c(280, 60, 20),
33+
c('Sky', 'Sunny side of pyramid', 'Shady side of pyramid'),
34+
col = c('#0292D8', '#F7EA39', '#C4B632'),
35+
init.angle = -50, border = NA
36+
)
37+
```
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title: "Hello R Markdown"
3+
author: "Frida Gomam"
4+
date: 2015-07-23T21:13:14-05:00
5+
categories: ["R"]
6+
tags: ["R Markdown", "plot", "regression"]
7+
---
8+
9+
10+
11+
<div id="r-markdown" class="section level1">
12+
<h1>R Markdown</h1>
13+
<p>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 <a href="http://rmarkdown.rstudio.com" class="uri">http://rmarkdown.rstudio.com</a>.</p>
14+
<p>You can embed an R code chunk like this:</p>
15+
<pre class="r"><code>summary(cars)
16+
## speed dist
17+
## Min. : 4.0 Min. : 2.00
18+
## 1st Qu.:12.0 1st Qu.: 26.00
19+
## Median :15.0 Median : 36.00
20+
## Mean :15.4 Mean : 42.98
21+
## 3rd Qu.:19.0 3rd Qu.: 56.00
22+
## Max. :25.0 Max. :120.00
23+
fit &lt;- lm(dist ~ speed, data = cars)
24+
fit
25+
##
26+
## Call:
27+
## lm(formula = dist ~ speed, data = cars)
28+
##
29+
## Coefficients:
30+
## (Intercept) speed
31+
## -17.579 3.932</code></pre>
32+
</div>
33+
<div id="including-plots" class="section level1">
34+
<h1>Including Plots</h1>
35+
<p>You can also embed plots. See Figure <a href="#fig:pie">1</a> for example:</p>
36+
<pre class="r"><code>par(mar = c(0, 1, 0, 1))
37+
pie(
38+
c(280, 60, 20),
39+
c(&#39;Sky&#39;, &#39;Sunny side of pyramid&#39;, &#39;Shady side of pyramid&#39;),
40+
col = c(&#39;#0292D8&#39;, &#39;#F7EA39&#39;, &#39;#C4B632&#39;),
41+
init.angle = -50, border = NA
42+
)</code></pre>
43+
<div class="figure"><span id="fig:pie"></span>
44+
<img src="/blog/2015-07-23-r-rmarkdown_files/figure-html/pie-1.png" alt="A fancy pie chart." width="672" />
45+
<p class="caption">
46+
Figure 1: A fancy pie chart.
47+
</p>
48+
</div>
49+
</div>

content/blog/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
layout: blog_list
3+
title: My Blog
4+
---

content/post/2015-07-23-r-rmarkdown.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
---
2-
title: "Hello R Markdown"
3-
author: "Frida Gomam"
4-
date: 2015-07-23T21:13:14-05:00
5-
categories: ["R"]
6-
tags: ["R Markdown", "plot", "regression"]
2+
author: Frida Gomam
3+
categories:
4+
- R
5+
date: "2015-07-23T21:13:14-05:00"
6+
tags:
7+
- R Markdown
8+
- plot
9+
- regression
10+
title: Hello R Markdown
711
---
812

913

66.5 KB
Loading

themes/hugo-lithium/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

themes/hugo-lithium/LICENSE.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

themes/hugo-lithium/README.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

themes/hugo-lithium/exampleSite/config.toml

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)