Remove useless sections
This commit is contained in:
parent
f90e4db44e
commit
d2630d3eac
|
@ -72,10 +72,10 @@
|
|||
<li><a href="#unnumbered-103">Useful extensions</a></li>
|
||||
<li><a href="#unnumbered-113">Graphs with Graphviz</a></li>
|
||||
<li><a href="#unnumbered-116">Graphs with R</a></li>
|
||||
<li><a href="#unnumbered-121">Index</a></li>
|
||||
<li><a href="#unnumbered-122">Bibliography</a></li>
|
||||
<li><a href="#unnumbered-123">Citations</a></li>
|
||||
<li><a href="#unnumbered-124">Glossary</a></li>
|
||||
<li><a href="#unnumbered-118">Index</a></li>
|
||||
<li><a href="#unnumbered-119">Bibliography</a></li>
|
||||
<li><a href="#unnumbered-120">Citations</a></li>
|
||||
<li><a href="#unnumbered-121">Glossary</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2861,28 +2861,9 @@ It uses directly the <code>R</code> command to process R language.
|
|||
</div>
|
||||
|
||||
<div id="outline-container-unnumbered-117" class="outline-3">
|
||||
<h3 id="unnumbered-117">Text</h3>
|
||||
<h3 id="unnumbered-117">Example</h3>
|
||||
<div class="outline-text-3" id="text-unnumbered-117">
|
||||
<p>
|
||||
A one-liner result:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-shell">date +<span class="org-string">"%Y-%m-%d"</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<pre class="example">
|
||||
2015-03-06
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-unnumbered-118" class="outline-3">
|
||||
<h3 id="unnumbered-118">Example</h3>
|
||||
<div class="outline-text-3" id="text-unnumbered-118">
|
||||
<p>
|
||||
Data to be charted:
|
||||
</p>
|
||||
|
||||
|
@ -2974,12 +2955,7 @@ Code:
|
|||
<span class="org-ess-function-call">legend</span><span class="org-builtin">(</span><span class="org-string">"bottom"</span>, legend<span class="org-constant">=</span><span class="org-ess-function-call">c</span><span class="org-builtin">(</span><span class="org-string">"Degrees"</span><span class="org-builtin">)</span>, col<span class="org-constant">=</span><span class="org-ess-function-call">c</span><span class="org-builtin">(</span><span class="org-string">"#ABD249"</span><span class="org-builtin">)</span>, pch<span class="org-constant">=</span><span class="org-ess-function-call">c</span><span class="org-builtin">(</span><span class="org-ess-numbers">19</span><span class="org-builtin">))</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-unnumbered-119" class="outline-3">
|
||||
<h3 id="unnumbered-119">Graph</h3>
|
||||
<div class="outline-text-3" id="text-unnumbered-119">
|
||||
<p>
|
||||
The resulting chart:
|
||||
</p>
|
||||
|
@ -2991,55 +2967,32 @@ The resulting chart:
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-unnumbered-120" class="outline-3">
|
||||
<h3 id="unnumbered-120">R code block</h3>
|
||||
<div class="outline-text-3" id="text-unnumbered-120">
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-R"><span class="org-constant">library</span><span class="org-builtin">(</span>ggplot2<span class="org-builtin">)</span>
|
||||
<span class="org-ess-function-call">summary</span><span class="org-builtin">(</span>cars<span class="org-builtin">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Plot:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-R"><span class="org-constant">library</span><span class="org-builtin">(</span>ggplot2<span class="org-builtin">)</span>
|
||||
<span class="org-ess-function-call">qplot</span><span class="org-builtin">(</span>speed, dist, data <span class="org-constant">=</span> cars<span class="org-builtin">)</span> <span class="org-constant">+</span> <span class="org-ess-function-call">geom_smooth</span><span class="org-builtin">()</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-unnumbered-121" class="outline-2">
|
||||
<h2 id="unnumbered-121">Index</h2>
|
||||
<div class="outline-text-2" id="text-unnumbered-121">
|
||||
<div id="outline-container-unnumbered-118" class="outline-2">
|
||||
<h2 id="unnumbered-118">Index</h2>
|
||||
<div class="outline-text-2" id="text-unnumbered-118">
|
||||
<p>
|
||||
Index (or list of acronyms).
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-unnumbered-122" class="outline-2">
|
||||
<h2 id="unnumbered-122">Bibliography</h2>
|
||||
<div id="outline-container-unnumbered-119" class="outline-2">
|
||||
<h2 id="unnumbered-119">Bibliography</h2>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-unnumbered-123" class="outline-2">
|
||||
<h2 id="unnumbered-123">Citations</h2>
|
||||
<div class="outline-text-2" id="text-unnumbered-123">
|
||||
<div id="outline-container-unnumbered-120" class="outline-2">
|
||||
<h2 id="unnumbered-120">Citations</h2>
|
||||
<div class="outline-text-2" id="text-unnumbered-120">
|
||||
<p>
|
||||
Cross-referenced to bibliography.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-unnumbered-124" class="outline-2">
|
||||
<h2 id="unnumbered-124">Glossary</h2>
|
||||
<div id="outline-container-unnumbered-121" class="outline-2">
|
||||
<h2 id="unnumbered-121">Glossary</h2>
|
||||
</div>
|
||||
<div id="footnotes">
|
||||
<h2 class="footnotes">Footnotes: </h2>
|
||||
|
|
|
@ -1304,32 +1304,6 @@ the ~org-babel-load-languages~ variable.
|
|||
|
||||
It uses directly the ~R~ command to process R language.
|
||||
|
||||
** Text
|
||||
|
||||
A one-liner result:
|
||||
|
||||
#+begin_src shell :exports both :results verbatim
|
||||
date +"%Y-%m-%d"
|
||||
#+end_src
|
||||
|
||||
#+results:
|
||||
: 2014-03-15
|
||||
|
||||
# A multiple-line result:
|
||||
#
|
||||
# #+name: list-of-styles
|
||||
# #+begin_src shell :exports both :results verbatim
|
||||
# # output all styles, but the default one (if any)
|
||||
# ls styles | grep -v "default"
|
||||
# #+end_src
|
||||
#
|
||||
# #+results: list-of-styles
|
||||
# #+begin_example
|
||||
# bigblow
|
||||
# leuven
|
||||
# maunakea
|
||||
# #+end_example
|
||||
|
||||
** Example
|
||||
|
||||
Data to be charted:
|
||||
|
@ -1359,29 +1333,11 @@ grid(nx=NULL, ny=NULL, col=c("#E8E8E8"), lwd=1)
|
|||
legend("bottom", legend=c("Degrees"), col=c("#ABD249"), pch=c(19))
|
||||
#+end_src
|
||||
|
||||
** Graph
|
||||
|
||||
The resulting chart:
|
||||
|
||||
#+results: R-plot
|
||||
[[file:images/Rplot.png]]
|
||||
|
||||
** R code block
|
||||
|
||||
#+begin_src R
|
||||
library(ggplot2)
|
||||
summary(cars)
|
||||
#+end_src
|
||||
|
||||
#+results:
|
||||
|
||||
Plot:
|
||||
|
||||
#+begin_src R
|
||||
library(ggplot2)
|
||||
qplot(speed, dist, data = cars) + geom_smooth()
|
||||
#+end_src
|
||||
|
||||
* Index
|
||||
|
||||
Index (or list of acronyms).
|
||||
|
|
Loading…
Reference in New Issue