]> git.vanrenterghem.biz Git - www2.vanrenterghem.biz.git/blobdiff - source/posts/Fibonacci_golden_spiral.org
Zorg dat post index pagina semantisch correct is.
[www2.vanrenterghem.biz.git] / source / posts / Fibonacci_golden_spiral.org
index 90abf9a3f439344d5e9f7b94d1c46db6d3e4e4d1..14ba5b07fd3a1a0503b2a047168170aab5f1d1c9 100644 (file)
 #+OPTIONS: toc:nil  \r
 #+date: <2019-09-16 22:03:03>\r
 \r
-* What \r
 After having read the first part of a Rcpp tutorial which compared native R vs C++ implementations of a Fibonacci sequence generator, I resorted to drawing the so-called Golden Spiral using R.\r
 \r
-* Details\r
 Libraries used in this example are the following\r
 \r
 #+BEGIN_SRC R :session R\r
@@ -338,7 +336,6 @@ df <- data.frame(t(serie))
 #+RESULTS:\r
 : TRUE\r
 \r
-* Result\r
 With everything now ready in the right coordinate system, it's now only a matter of setting some options to make the output look acceptable.\r
 #+BEGIN_SRC R :session R :results output file graphics :file ../assets/golden_spiral-ggplot-coord-fixed.png :width 800 :height 800 :exports both\r
 ggplot(df, aes(x=X1,y=X2)) +\r
@@ -356,5 +353,4 @@ ggplot(df, aes(x=X1,y=X2)) +
          y = "")\r
 #+END_SRC\r
 \r
-* Note on how this post was written.\r
-After a long hiatus, I set about using emacs, org-mode and ESS together to create this post. All code is part of an .org file, and gets exported to markdown using the orgmode conversion - C-c C-e m m.\r
+Note on how this post was written: After a long hiatus, I set about using emacs, org-mode and ESS together to create this post. All code is part of an .org file, and gets exported to markdown using the orgmode conversion - C-c C-e m m.\r