<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>R | Sau-Chin Chen&#39;s Website</title>
    <link>http://scchen.com/categories/r/</link>
      <atom:link href="http://scchen.com/categories/r/index.xml" rel="self" type="application/rss+xml" />
    <description>R</description>
    <generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>© 2017 Sau-Chin Chen</copyright><lastBuildDate>Wed, 27 Dec 2017 00:00:00 +0000</lastBuildDate>
    <image>
      <url>img/map[email:pmsp96@gmail.com gravatar:%!s(bool=false) shape:circle]</url>
      <title>R</title>
      <link>http://scchen.com/categories/r/</link>
    </image>
    
    <item>
      <title>Use R Markdown build website</title>
      <link>http://scchen.com/post/use-r-markdown-build-website/use-r-markdown-build-website/</link>
      <pubDate>Wed, 27 Dec 2017 00:00:00 +0000</pubDate>
      <guid>http://scchen.com/post/use-r-markdown-build-website/use-r-markdown-build-website/</guid>
      <description>&lt;p&gt;I’m testing blogdown. Learn how to build and manange my website in this package.&lt;/p&gt;
&lt;p&gt;Will this sentence be updated at &lt;em&gt;Viewer&lt;/em&gt;?&lt;/p&gt;
&lt;p&gt;Yes. it worked. Now test some markdown tags:&lt;/p&gt;
&lt;h1 id=&#34;h1&#34;&gt;H1&lt;/h1&gt;
&lt;h2 id=&#34;h2&#34;&gt;H2&lt;/h2&gt;
&lt;h3 id=&#34;h3&#34;&gt;H3&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Bold&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Italic&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Math expression: $\alpha$&lt;/p&gt;
&lt;p&gt;$$\sigma = X^2 + Y^2$$&lt;/p&gt;
&lt;p&gt;This is like “Watch laterly after you write”.&lt;/p&gt;
&lt;p&gt;After reboot Rstudio, I can directly continue the latest work.&lt;/p&gt;
&lt;p&gt;I manage my website as a R project.&lt;/p&gt;
&lt;p&gt;I unchecked “Preview site after building” in project options.&lt;/p&gt;
&lt;p&gt;Viewer is updating after I unchecked this option.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Hello R Markdown</title>
      <link>http://scchen.com/post/2015-07-23-r-rmarkdown/2015-07-23-r-rmarkdown/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>http://scchen.com/post/2015-07-23-r-rmarkdown/2015-07-23-r-rmarkdown/</guid>
      <description>


&lt;div id=&#34;r-markdown&#34; class=&#34;section level1&#34;&gt;
&lt;h1&gt;R Markdown&lt;/h1&gt;
&lt;p&gt;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 &lt;a href=&#34;http://rmarkdown.rstudio.com&#34; class=&#34;uri&#34;&gt;http://rmarkdown.rstudio.com&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can embed an R code chunk like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;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 &amp;lt;- lm(dist ~ speed, data = cars)
fit
## 
## Call:
## lm(formula = dist ~ speed, data = cars)
## 
## Coefficients:
## (Intercept)        speed  
##     -17.579        3.932&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div id=&#34;including-plots&#34; class=&#34;section level1&#34;&gt;
&lt;h1&gt;Including Plots&lt;/h1&gt;
&lt;p&gt;You can also embed plots. See Figure 1 for example:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;par(mar = c(0, 1, 0, 1))
pie(
  c(280, 60, 20),
  c(&amp;#39;Sky&amp;#39;, &amp;#39;Sunny side of pyramid&amp;#39;, &amp;#39;Shady side of pyramid&amp;#39;),
  col = c(&amp;#39;#0292D8&amp;#39;, &amp;#39;#F7EA39&amp;#39;, &amp;#39;#C4B632&amp;#39;),
  init.angle = -50, border = NA
)&lt;/code&gt;&lt;/pre&gt;
&lt;div class=&#34;float&#34;&gt;
&lt;img src=&#34;http://scchen.com/post/2015-07-23-r-rmarkdown_files/figure-html/pie-1.png&#34; alt=&#34;A fancy pie chart.&#34; /&gt;
&lt;div class=&#34;figcaption&#34;&gt;A fancy pie chart.&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Figure 1: A fancy pie chart.&lt;/p&gt;
&lt;/div&gt;
</description>
    </item>
    
  </channel>
</rss>
