浏览代码

更新hugo

chenxixian 6 年之前
父节点
当前提交
3354d6bd80

+ 0 - 1
config.toml

@@ -1,4 +1,3 @@
-install.packages("xaringan")baseurl = "/"
 languageCode = "en-us"
 languageCode = "en-us"
 title = "A minimal Hugo website"
 title = "A minimal Hugo website"
 theme = "hugo-xmin"
 theme = "hugo-xmin"

+ 49 - 0
content/post/2015-07-23-r-rmarkdown.html

@@ -0,0 +1,49 @@
+---
+title: "Hello R Markdown"
+author: "Frida Gomam"
+date: 2015-07-23T21:13:14-05:00
+categories: ["R"]
+tags: ["R Markdown", "plot", "regression"]
+---
+
+
+
+<div id="r-markdown" class="section level1">
+<h1>R Markdown</h1>
+<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>
+<p>You can embed an R code chunk like this:</p>
+<pre class="r"><code>summary(cars)
+##      speed           dist       
+##  Min.   : 4.0   Min.   :  2.00  
+##  1st Qu.:12.0   1st Qu.: 26.00  
+##  Median :15.0   Median : 36.00  
+##  Mean   :15.4   Mean   : 42.98  
+##  3rd Qu.:19.0   3rd Qu.: 56.00  
+##  Max.   :25.0   Max.   :120.00
+fit &lt;- lm(dist ~ speed, data = cars)
+fit
+## 
+## Call:
+## lm(formula = dist ~ speed, data = cars)
+## 
+## Coefficients:
+## (Intercept)        speed  
+##     -17.579        3.932</code></pre>
+</div>
+<div id="including-plots" class="section level1">
+<h1>Including Plots</h1>
+<p>You can also embed plots. See Figure <a href="#fig:pie">1</a> for example:</p>
+<pre class="r"><code>par(mar = c(0, 1, 0, 1))
+pie(
+  c(280, 60, 20),
+  c(&#39;Sky&#39;, &#39;Sunny side of pyramid&#39;, &#39;Shady side of pyramid&#39;),
+  col = c(&#39;#0292D8&#39;, &#39;#F7EA39&#39;, &#39;#C4B632&#39;),
+  init.angle = -50, border = NA
+)</code></pre>
+<div class="figure"><span id="fig:pie"></span>
+<img src="/post/2015-07-23-r-rmarkdown_files/figure-html/pie-1.png" alt="A fancy pie chart." width="672" />
+<p class="caption">
+Figure 1: A fancy pie chart.
+</p>
+</div>
+</div>

+ 11 - 0
content/post/2019-04-25-hello-r-markdown-world.md

@@ -0,0 +1,11 @@
+---
+title: Hello,R MarkDown World!!!
+author: samchenxx
+date: '2019-04-25'
+slug: hello-r-markdown-world
+categories:
+  - R
+tags:
+  - plot
+  - Markdown
+---

二进制
static/post/2015-07-23-r-rmarkdown_files/figure-html/pie-1.png