galaaz 0.4.10 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2048 -531
  3. data/Rakefile +3 -2
  4. data/bin/gknit +152 -6
  5. data/bin/gknit-draft +105 -0
  6. data/bin/gknit-draft.rb +28 -0
  7. data/bin/gknit_Rscript +127 -0
  8. data/bin/grun +27 -1
  9. data/bin/gstudio +47 -4
  10. data/bin/{gstudio.rb → gstudio_irb.rb} +0 -0
  11. data/bin/gstudio_pry.rb +7 -0
  12. data/blogs/galaaz_ggplot/galaaz_ggplot.html +10 -195
  13. data/blogs/galaaz_ggplot/galaaz_ggplot.md +404 -0
  14. data/blogs/galaaz_ggplot/galaaz_ggplot_files/figure-html/midwest_rb.png +0 -0
  15. data/blogs/galaaz_ggplot/galaaz_ggplot_files/figure-html/scatter_plot_rb.png +0 -0
  16. data/blogs/gknit/gknit.Rmd +5 -3
  17. data/blogs/gknit/gknit.pdf +0 -0
  18. data/blogs/gknit/lst.rds +0 -0
  19. data/blogs/manual/lst.rds +0 -0
  20. data/blogs/manual/manual.Rmd +826 -53
  21. data/blogs/manual/manual.html +2338 -695
  22. data/blogs/manual/manual.md +2032 -539
  23. data/blogs/manual/manual.pdf +0 -0
  24. data/blogs/manual/manual.tex +1804 -594
  25. data/blogs/manual/manual_files/figure-html/bubble-1.png +0 -0
  26. data/blogs/manual/manual_files/figure-html/diverging_bar.png +0 -0
  27. data/blogs/manual/manual_files/figure-latex/bubble-1.png +0 -0
  28. data/blogs/manual/manual_files/figure-latex/diverging_bar.pdf +0 -0
  29. data/blogs/manual/model.rb +41 -0
  30. data/blogs/nse_dplyr/nse_dplyr.Rmd +226 -73
  31. data/blogs/nse_dplyr/nse_dplyr.html +254 -336
  32. data/blogs/nse_dplyr/nse_dplyr.md +353 -158
  33. data/blogs/oh_my/oh_my.html +274 -386
  34. data/blogs/oh_my/oh_my.md +208 -205
  35. data/blogs/ruby_plot/ruby_plot.html +20 -205
  36. data/blogs/ruby_plot/ruby_plot.md +14 -15
  37. data/blogs/ruby_plot/ruby_plot_files/figure-html/dose_len.png +0 -0
  38. data/blogs/ruby_plot/ruby_plot_files/figure-html/facet_by_delivery.png +0 -0
  39. data/blogs/ruby_plot/ruby_plot_files/figure-html/facet_by_dose.png +0 -0
  40. data/blogs/ruby_plot/ruby_plot_files/figure-html/facets_by_delivery_color.png +0 -0
  41. data/blogs/ruby_plot/ruby_plot_files/figure-html/facets_by_delivery_color2.png +0 -0
  42. data/blogs/ruby_plot/ruby_plot_files/figure-html/facets_with_decorations.png +0 -0
  43. data/blogs/ruby_plot/ruby_plot_files/figure-html/facets_with_jitter.png +0 -0
  44. data/blogs/ruby_plot/ruby_plot_files/figure-html/facets_with_points.png +0 -0
  45. data/blogs/ruby_plot/ruby_plot_files/figure-html/final_box_plot.png +0 -0
  46. data/blogs/ruby_plot/ruby_plot_files/figure-html/final_violin_plot.png +0 -0
  47. data/blogs/ruby_plot/ruby_plot_files/figure-html/violin_with_jitter.png +0 -0
  48. data/examples/Bibliography/master.bib +50 -0
  49. data/examples/Bibliography/stats.bib +72 -0
  50. data/examples/islr/x_y_rnorm.jpg +0 -0
  51. data/examples/latex_templates/Test-acm_article/Makefile +16 -0
  52. data/examples/latex_templates/Test-acm_article/Test-acm_article.Rmd +65 -0
  53. data/examples/latex_templates/Test-acm_article/acm_proc_article-sp.cls +1670 -0
  54. data/examples/latex_templates/Test-acm_article/sensys-abstract.cls +703 -0
  55. data/examples/latex_templates/Test-acm_article/sigproc.bib +59 -0
  56. data/examples/latex_templates/Test-acs_article/Test-acs_article.Rmd +260 -0
  57. data/examples/latex_templates/Test-acs_article/Test-acs_article.pdf +0 -0
  58. data/examples/latex_templates/Test-acs_article/acs-Test-acs_article.bib +11 -0
  59. data/examples/latex_templates/Test-acs_article/acs-my_output.bib +11 -0
  60. data/examples/latex_templates/Test-acs_article/acstest.bib +17 -0
  61. data/examples/latex_templates/Test-aea_article/AEA.cls +1414 -0
  62. data/{blogs/gknit/marshal.dump → examples/latex_templates/Test-aea_article/BibFile.bib} +0 -0
  63. data/examples/latex_templates/Test-aea_article/Test-aea_article.Rmd +108 -0
  64. data/examples/latex_templates/Test-aea_article/Test-aea_article.pdf +0 -0
  65. data/examples/latex_templates/Test-aea_article/aea.bst +1269 -0
  66. data/examples/latex_templates/Test-aea_article/multicol.sty +853 -0
  67. data/examples/latex_templates/Test-aea_article/references.bib +0 -0
  68. data/examples/latex_templates/Test-aea_article/setspace.sty +546 -0
  69. data/examples/latex_templates/Test-amq_article/Test-amq_article.Rmd +256 -0
  70. data/examples/latex_templates/Test-amq_article/Test-amq_article.pdf +0 -0
  71. data/examples/latex_templates/Test-amq_article/Test-amq_article.pdfsync +3397 -0
  72. data/examples/latex_templates/Test-amq_article/pics/Figure2.pdf +0 -0
  73. data/examples/latex_templates/Test-ams_article/Test-ams_article.Rmd +215 -0
  74. data/examples/latex_templates/Test-ams_article/amstest.bib +436 -0
  75. data/examples/latex_templates/Test-asa_article/Test-asa_article.Rmd +153 -0
  76. data/examples/latex_templates/Test-asa_article/Test-asa_article.pdf +0 -0
  77. data/examples/latex_templates/Test-asa_article/agsm.bst +1353 -0
  78. data/examples/latex_templates/Test-asa_article/bibliography.bib +233 -0
  79. data/examples/latex_templates/Test-ieee_article/IEEEtran.bst +2409 -0
  80. data/examples/latex_templates/Test-ieee_article/IEEEtran.cls +6346 -0
  81. data/examples/latex_templates/Test-ieee_article/Test-ieee_article.Rmd +175 -0
  82. data/examples/latex_templates/Test-ieee_article/Test-ieee_article.pdf +0 -0
  83. data/examples/latex_templates/Test-ieee_article/mybibfile.bib +20 -0
  84. data/examples/latex_templates/Test-rjournal_article/RJournal.sty +335 -0
  85. data/examples/latex_templates/Test-rjournal_article/RJreferences.bib +18 -0
  86. data/examples/latex_templates/Test-rjournal_article/RJwrapper.pdf +0 -0
  87. data/examples/latex_templates/Test-rjournal_article/Test-rjournal_article.Rmd +52 -0
  88. data/examples/latex_templates/Test-springer_article/Test-springer_article.Rmd +65 -0
  89. data/examples/latex_templates/Test-springer_article/Test-springer_article.pdf +0 -0
  90. data/examples/latex_templates/Test-springer_article/bibliography.bib +26 -0
  91. data/examples/latex_templates/Test-springer_article/spbasic.bst +1658 -0
  92. data/examples/latex_templates/Test-springer_article/spmpsci.bst +1512 -0
  93. data/examples/latex_templates/Test-springer_article/spphys.bst +1443 -0
  94. data/examples/latex_templates/Test-springer_article/svglov3.clo +113 -0
  95. data/examples/latex_templates/Test-springer_article/svjour3.cls +1431 -0
  96. data/examples/rmarkdown/svm-rmarkdown-anon-ms-example/svm-rmarkdown-anon-ms-example.Rmd +73 -0
  97. data/examples/rmarkdown/svm-rmarkdown-anon-ms-example/svm-rmarkdown-anon-ms-example.pdf +0 -0
  98. data/examples/rmarkdown/svm-rmarkdown-article-example/svm-rmarkdown-article-example.Rmd +382 -0
  99. data/examples/rmarkdown/svm-rmarkdown-article-example/svm-rmarkdown-article-example.pdf +0 -0
  100. data/examples/rmarkdown/svm-rmarkdown-beamer-example/svm-rmarkdown-beamer-example.Rmd +164 -0
  101. data/examples/rmarkdown/svm-rmarkdown-beamer-example/svm-rmarkdown-beamer-example.pdf +0 -0
  102. data/examples/rmarkdown/svm-rmarkdown-cv/svm-rmarkdown-cv.Rmd +92 -0
  103. data/examples/rmarkdown/svm-rmarkdown-cv/svm-rmarkdown-cv.pdf +0 -0
  104. data/examples/rmarkdown/svm-rmarkdown-syllabus-example/attend-grade-relationships.csv +482 -0
  105. data/examples/rmarkdown/svm-rmarkdown-syllabus-example/svm-rmarkdown-syllabus-example.Rmd +280 -0
  106. data/examples/rmarkdown/svm-rmarkdown-syllabus-example/svm-rmarkdown-syllabus-example.pdf +0 -0
  107. data/examples/rmarkdown/svm-xaringan-example/svm-xaringan-example.Rmd +386 -0
  108. data/lib/R_interface/r.rb +1 -1
  109. data/lib/R_interface/r_libs.R +1 -1
  110. data/lib/R_interface/r_methods.rb +10 -0
  111. data/lib/R_interface/rpkg.rb +1 -0
  112. data/lib/R_interface/rsupport.rb +4 -6
  113. data/lib/gknit.rb +2 -0
  114. data/lib/gknit/draft.rb +105 -0
  115. data/lib/gknit/knitr_engine.rb +0 -33
  116. data/lib/util/exec_ruby.rb +1 -27
  117. data/specs/figures/bg.jpeg +0 -0
  118. data/specs/figures/bg.png +0 -0
  119. data/specs/figures/dose_len.png +0 -0
  120. data/specs/figures/no_args.jpeg +0 -0
  121. data/specs/figures/no_args.png +0 -0
  122. data/specs/figures/width_height.jpeg +0 -0
  123. data/specs/figures/width_height.png +0 -0
  124. data/specs/figures/width_height_units1.jpeg +0 -0
  125. data/specs/figures/width_height_units1.png +0 -0
  126. data/specs/figures/width_height_units2.jpeg +0 -0
  127. data/specs/figures/width_height_units2.png +0 -0
  128. data/specs/r_dataframe.spec.rb +11 -11
  129. data/specs/ruby_expression.spec.rb +1 -0
  130. data/specs/tmp.rb +41 -20
  131. data/version.rb +1 -1
  132. metadata +73 -35
  133. data/blogs/galaaz_ggplot/galaaz_ggplot.aux +0 -41
  134. data/blogs/galaaz_ggplot/galaaz_ggplot.out +0 -10
  135. data/blogs/galaaz_ggplot/galaaz_ggplot_files/figure-latex/midwest_rb.pdf +0 -0
  136. data/blogs/galaaz_ggplot/galaaz_ggplot_files/figure-latex/scatter_plot_rb.pdf +0 -0
  137. data/blogs/gknit/gknit.md +0 -1430
  138. data/blogs/gknit/gknit.tex +0 -1358
  139. data/blogs/manual/graph.rb +0 -29
  140. data/blogs/nse_dplyr/nse_dplyr.tex +0 -1373
  141. data/blogs/ruby_plot/ruby_plot.Rmd_external_figs +0 -662
  142. data/blogs/ruby_plot/ruby_plot_files/figure-html/dose_len.svg +0 -57
  143. data/blogs/ruby_plot/ruby_plot_files/figure-html/facet_by_delivery.svg +0 -106
  144. data/blogs/ruby_plot/ruby_plot_files/figure-html/facet_by_dose.svg +0 -110
  145. data/blogs/ruby_plot/ruby_plot_files/figure-html/facets_by_delivery_color.svg +0 -174
  146. data/blogs/ruby_plot/ruby_plot_files/figure-html/facets_by_delivery_color2.svg +0 -236
  147. data/blogs/ruby_plot/ruby_plot_files/figure-html/facets_with_jitter.svg +0 -296
  148. data/blogs/ruby_plot/ruby_plot_files/figure-html/facets_with_points.svg +0 -236
  149. data/blogs/ruby_plot/ruby_plot_files/figure-html/final_box_plot.svg +0 -218
  150. data/blogs/ruby_plot/ruby_plot_files/figure-html/final_violin_plot.svg +0 -128
  151. data/blogs/ruby_plot/ruby_plot_files/figure-html/violin_with_jitter.svg +0 -150
  152. data/blogs/ruby_plot/ruby_plot_files/figure-latex/dose_len.png +0 -0
  153. data/blogs/ruby_plot/ruby_plot_files/figure-latex/facet_by_delivery.png +0 -0
  154. data/blogs/ruby_plot/ruby_plot_files/figure-latex/facet_by_dose.png +0 -0
  155. data/blogs/ruby_plot/ruby_plot_files/figure-latex/facets_by_delivery_color.png +0 -0
  156. data/blogs/ruby_plot/ruby_plot_files/figure-latex/facets_by_delivery_color2.png +0 -0
  157. data/blogs/ruby_plot/ruby_plot_files/figure-latex/facets_with_decorations.png +0 -0
  158. data/blogs/ruby_plot/ruby_plot_files/figure-latex/facets_with_jitter.png +0 -0
  159. data/blogs/ruby_plot/ruby_plot_files/figure-latex/facets_with_points.png +0 -0
  160. data/blogs/ruby_plot/ruby_plot_files/figure-latex/final_box_plot.png +0 -0
  161. data/blogs/ruby_plot/ruby_plot_files/figure-latex/final_violin_plot.png +0 -0
  162. data/blogs/ruby_plot/ruby_plot_files/figure-latex/violin_with_jitter.png +0 -0
  163. data/examples/paper/paper.rb +0 -36
@@ -16,200 +16,15 @@
16
16
 
17
17
  <title>Non Standard Evaluation in dplyr with Galaaz</title>
18
18
 
19
-
25
20
  <meta name="viewport" content="width=device-width, initial-scale=1" />
26
-
28
- <script>/*!
29
- * Bootstrap v3.3.5 (http://getbootstrap.com)
30
- * Copyright 2011-2015 Twitter, Inc.
31
- * Licensed under the MIT license
32
- */
33
- if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.5",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.5",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.5",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.5",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.5",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",c).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",g.prototype.keydown)}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d)})}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};c.VERSION="3.3.5",c.TRANSITION_DURATION=300,c.BACKDROP_TRANSITION_DURATION=150,c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)},c.prototype.show=function(b){var d=this,e=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){d.$element.one("mouseup.dismiss.bs.modal",function(b){a(b.target).is(d.$element)&&(d.ignoreBackdropClick=!0)})}),this.backdrop(function(){var e=a.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(d.$body),d.$element.show().scrollTop(0),d.adjustDialog(),e&&d.$element[0].offsetWidth,d.$element.addClass("in"),d.enforceFocus();var f=a.Event("shown.bs.modal",{relatedTarget:b});e?d.$dialog.one("bsTransitionEnd",function(){d.$element.trigger("focus").trigger(f)}).emulateTransitionEnd(c.TRANSITION_DURATION):d.$element.trigger("focus").trigger(f)}))},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(c.TRANSITION_DURATION):this.hideModal())},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},c.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$body.removeClass("modal-open"),a.resetAdjustments(),a.resetScrollbar(),a.$element.trigger("hidden.bs.modal")})},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},c.prototype.backdrop=function(b){var d=this,e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=a.support.transition&&e;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+e).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.adjustDialog()},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth<a,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",a,b)};c.VERSION="3.3.5",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),c.isInStateTrue()?void 0:(clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide())},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-m<o.top?"bottom":"right"==h&&k.right+l>o.width?"left":"left"==h&&k.left-l<o.left?"right":h,f.removeClass(n).addClass(h)}var p=this.getCalculatedOffset(h,k,l,m);this.applyPlacement(p,h);var q=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==a&&e.leave(e)};a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",q).emulateTransitionEnd(c.TRANSITION_DURATION):q()}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top+=g,b.left+=h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=/top|bottom/.test(c),m=l?2*k.left-e+i:2*k.top-f+j,n=l?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(m,d[0][n],l)},c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c?"left":"top",50*(1-a/b)+"%").css(c?"top":"left","")},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},c.prototype.hide=function(b){function d(){"in"!=e.hoverState&&f.detach(),e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),b&&b()}var e=this,f=a(this.$tip),g=a.Event("hide.bs."+this.type);return this.$element.trigger(g),g.isDefaultPrevented()?void 0:(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",d).emulateTransitionEnd(c.TRANSITION_DURATION):d(),this.hoverState=null,this)},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d="BODY"==c.tagName,e=c.getBoundingClientRect();null==e.width&&(e=a.extend({},e,{width:e.right-e.left,height:e.bottom-e.top}));var f=d?{top:0,left:0}:b.offset(),g={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},h=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,g,h,f)},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.5",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.5",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<e[0])return this.activeTarget=null,this.clear();for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(void 0===e[a+1]||b<e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),
34
- d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.5",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.5",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);</script>
35
- <script>/**
36
- * @preserve HTML5 Shiv 3.7.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
37
- */
38
- // Only run this code in IE 8
39
- if (!!window.navigator.userAgent.match("MSIE 8")) {
40
- !function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.2",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b)}(this,document);
41
- };
42
- </script>
43
- <script>/*! Respond.js v1.4.2: min/max-width media query polyfill * Copyright 2013 Scott Jehl
44
- * Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT
45
- * */
46
-
47
- // Only run this code in IE 8
48
- if (!!window.navigator.userAgent.match("MSIE 8")) {
49
- !function(a){"use strict";a.matchMedia=a.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='&shy;<style media="'+a+'"> #mq-test-1 { width: 42px; }</style>',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){u(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))};if(c.ajax=f,c.queue=d,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,maxw:/\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var g,h,i,j=a.document,k=j.documentElement,l=[],m=[],n=[],o={},p=30,q=j.getElementsByTagName("head")[0]||k,r=j.getElementsByTagName("base")[0],s=q.getElementsByTagName("link"),t=function(){var a,b=j.createElement("div"),c=j.body,d=k.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=j.createElement("body"),c.style.background="none"),k.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&k.insertBefore(c,k.firstChild),a=b.offsetWidth,f?k.removeChild(c):c.removeChild(b),k.style.fontSize=d,e&&(c.style.fontSize=e),a=i=parseFloat(a)},u=function(b){var c="clientWidth",d=k[c],e="CSS1Compat"===j.compatMode&&d||j.body[c]||d,f={},o=s[s.length-1],r=(new Date).getTime();if(b&&g&&p>r-g)return a.clearTimeout(h),h=a.setTimeout(u,p),void 0;g=r;for(var v in l)if(l.hasOwnProperty(v)){var w=l[v],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?i||t():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?i||t():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(m[w.rules]))}for(var C in n)n.hasOwnProperty(C)&&n[C]&&n[C].parentNode===q&&q.removeChild(n[C]);n.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=j.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,q.insertBefore(E,o.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(j.createTextNode(F)),n.push(E)}},v=function(a,b,d){var e=a.replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var g=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},h=!f&&d;b.length&&(b+="/"),h&&(f=1);for(var i=0;f>i;i++){var j,k,n,o;h?(j=d,m.push(g(a))):(j=e[i].match(c.regex.findStyles)&&RegExp.$1,m.push(RegExp.$2&&g(RegExp.$2))),n=j.split(","),o=n.length;for(var p=0;o>p;p++)k=n[p],l.push({media:k.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:m.length-1,hasquery:k.indexOf("(")>-1,minw:k.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:k.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},w=function(){if(d.length){var b=d.shift();f(b.href,function(c){v(c,b.href,b.media),o[b.href]=!0,a.setTimeout(function(){w()},0)})}},x=function(){for(var b=0;b<s.length;b++){var c=s[b],e=c.href,f=c.media,g=c.rel&&"stylesheet"===c.rel.toLowerCase();e&&g&&!o[e]&&(c.styleSheet&&c.styleSheet.rawCssText?(v(c.styleSheet.rawCssText,e,f),o[e]=!0):(!/^([a-zA-Z:]*\/\/)/.test(e)&&!r||e.replace(RegExp.$1,"").split("/")[0]===a.location.host)&&("//"===e.substring(0,2)&&(e=a.location.protocol+e),d.push({href:e,media:f})))}w()};x(),c.update=x,c.getEmValue=t,a.addEventListener?a.addEventListener("resize",b,!1):a.attachEvent&&a.attachEvent("onresize",b)}}(this);
50
- };
51
- </script>
52
- <script>
53
-
54
- /**
55
- * jQuery Plugin: Sticky Tabs
56
- *
57
- * @author Aidan Lister <aidan@php.net>
58
- * adapted by Ruben Arslan to activate parent tabs too
59
- * http://www.aidanlister.com/2014/03/persisting-the-tab-state-in-bootstrap/
60
- */
61
- (function($) {
62
- "use strict";
63
- $.fn.rmarkdownStickyTabs = function() {
64
- var context = this;
65
- // Show the tab corresponding with the hash in the URL, or the first tab
66
- var showStuffFromHash = function() {
67
- var hash = window.location.hash;
68
- var selector = hash ? 'a[href="' + hash + '"]' : 'li.active > a';
69
- var $selector = $(selector, context);
70
- if($selector.data('toggle') === "tab") {
71
- $selector.tab('show');
72
- // walk up the ancestors of this element, show any hidden tabs
73
- $selector.parents('.section.tabset').each(function(i, elm) {
74
- var link = $('a[href="#' + $(elm).attr('id') + '"]');
75
- if(link.data('toggle') === "tab") {
76
- link.tab("show");
77
- }
78
- });
79
- }
80
- };
81
-
82
-
83
- // Set the correct tab when the page loads
84
- showStuffFromHash(context);
85
-
86
- // Set the correct tab when a user uses their back/forward button
87
- $(window).on('hashchange', function() {
88
- showStuffFromHash(context);
89
- });
90
-
91
- // Change the URL when tabs are clicked
92
- $('a', context).on('click', function(e) {
93
- history.pushState(null, null, this.href);
94
- showStuffFromHash(context);
95
- });
96
-
97
- return this;
98
- };
99
- }(jQuery));
100
-
101
- window.buildTabsets = function(tocID) {
102
-
103
- // build a tabset from a section div with the .tabset class
104
- function buildTabset(tabset) {
105
-
106
- // check for fade and pills options
107
- var fade = tabset.hasClass("tabset-fade");
108
- var pills = tabset.hasClass("tabset-pills");
109
- var navClass = pills ? "nav-pills" : "nav-tabs";
110
-
111
- // determine the heading level of the tabset and tabs
112
- var match = tabset.attr('class').match(/level(\d) /);
113
- if (match === null)
114
- return;
115
- var tabsetLevel = Number(match[1]);
116
- var tabLevel = tabsetLevel + 1;
117
-
118
- // find all subheadings immediately below
119
- var tabs = tabset.find("div.section.level" + tabLevel);
120
- if (!tabs.length)
121
- return;
122
-
123
- // create tablist and tab-content elements
124
- var tabList = $('<ul class="nav ' + navClass + '" role="tablist"></ul>');
125
- $(tabs[0]).before(tabList);
126
- var tabContent = $('<div class="tab-content"></div>');
127
- $(tabs[0]).before(tabContent);
128
-
129
- // build the tabset
130
- var activeTab = 0;
131
- tabs.each(function(i) {
132
-
133
- // get the tab div
134
- var tab = $(tabs[i]);
135
-
136
- // get the id then sanitize it for use with bootstrap tabs
137
- var id = tab.attr('id');
138
-
139
- // see if this is marked as the active tab
140
- if (tab.hasClass('active'))
141
- activeTab = i;
142
-
143
- // remove any table of contents entries associated with
144
- // this ID (since we'll be removing the heading element)
145
- $("div#" + tocID + " li a[href='#" + id + "']").parent().remove();
146
-
147
- // sanitize the id for use with bootstrap tabs
148
- id = id.replace(/[.\/?&!#<>]/g, '').replace(/\s/g, '_');
149
- tab.attr('id', id);
150
-
151
- // get the heading element within it, grab it's text, then remove it
152
- var heading = tab.find('h' + tabLevel + ':first');
153
- var headingText = heading.html();
154
- heading.remove();
155
-
156
- // build and append the tab list item
157
- var a = $('<a role="tab" data-toggle="tab">' + headingText + '</a>');
158
- a.attr('href', '#' + id);
159
- a.attr('aria-controls', id);
160
- var li = $('<li role="presentation"></li>');
161
- li.append(a);
162
- tabList.append(li);
163
-
164
- // set it's attributes
165
- tab.attr('role', 'tabpanel');
166
- tab.addClass('tab-pane');
167
- tab.addClass('tabbed-pane');
168
- if (fade)
169
- tab.addClass('fade');
170
-
171
- // move it into the tab content div
172
- tab.detach().appendTo(tabContent);
173
- });
174
-
175
- // set active tab
176
- $(tabList.children('li')[activeTab]).addClass('active');
177
- var active = $(tabContent.children('div.section')[activeTab]);
178
- active.addClass('active');
179
- if (fade)
180
- active.addClass('in');
181
-
182
- if (tabset.hasClass("tabset-sticky"))
183
- tabset.rmarkdownStickyTabs();
184
- }
185
-
186
- // convert section divs with the .tabset class to tabsets
187
- var tabsets = $("div.section.tabset");
188
- tabsets.each(function(i) {
189
- buildTabset($(tabsets[i]));
190
- });
191
- };
192
-
193
- </script>
194
- <style type="text/css">.hljs-literal {
195
- color: #990073;
196
- }
197
- .hljs-number {
198
- color: #099;
199
- }
200
- .hljs-comment {
201
- color: #998;
202
- font-style: italic;
203
- }
204
- .hljs-keyword {
205
- color: #900;
206
- font-weight: bold;
207
- }
208
- .hljs-string {
209
- color: #d14;
210
- }
211
- </style>
212
- <script src="data:application/javascript;base64,LyohIGhpZ2hsaWdodC5qcyB2OS4xMi4wIHwgQlNEMyBMaWNlbnNlIHwgZ2l0LmlvL2hsanNsaWNlbnNlICovCiFmdW5jdGlvbihlKXt2YXIgbj0ib2JqZWN0Ij09dH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RhYi5hdHRyKCdyb2xlJywgJ3RhYnBhbmVsJyk7CiAgICAgIHRhYi5hZGRDbGFzcygndGFiLXBhbmUnKTsKICAgICAgdGFiLmFkZENsYXNzKCd0YWJiZWQtcGFuZScpOwogICAgICBpZiAoZmFkZSkKICAgICAgICB0YWIuYWRkQ2xhc3MoJ2ZhZGUnKTsKCiAgICAgIC8vIG1vdmUgaXQgaW50byB0aGUgdGFiIGNvbnRlbnQgZGl2CiAgICAgIHRhYi5kZXRhY2goKS5hcHBlbmRUbyh0YWJDb250ZW50KTsKICAgIH0pOwoKICAgIC8vIHNldCBhY3RpdmUgdGFiCiAgICAkKHRhYkxpc3QuY2hpbGRyZW4oJ2xpJylbYWN0aXZlVGFiXSkuYWRkQ2xhc3MoJ2FjdGl2ZScpOwogICAgdmFyIGFjdGl2ZSA9ICQodGFiQ29udGVudC5jaGlsZHJlbignZGl2LnNlY3Rpb24nKVthY3RpdmVUYWJdKTsKICAgIGFjdGl2ZS5hZGRDbGFzcygnYWN0aXZlJyk7CiAgICBpZiAoZmFkZSkKICAgICAgYWN0aXZlLmFkZENsYXNzKCdpbicpOwoKICAgIGlmICh0YWJzZXQuaGFzQ2xhc3MoInRhYnNldC1zdGlja3kiKSkKICAgICAgdGFic2V0LnJtYXJrZG93blN0aWNreVRhYnMoKTsKICB9CgogIC8vIGNvbnZlcnQgc2VjdGlvbiBkaXZzIHdpdGggdGhlIC50YWJzZXQgY2xhc3MgdG8gdGFic2V0cwogIHZhciB0YWJzZXRzID0gJCgiZGl2LnNlY3Rpb24udGFic2V0Iik7CiAgdGFic2V0cy5lYWNoKGZ1bmN0aW9uKGkpIHsKICAgIGJ1aWxkVGFic2V0KCQodGFic2V0c1tpXSkpOwogIH0pOwp9OwoK"></script>
26
+ <link href="data:text/css;charset=utf-8,%2Ehljs%2Dliteral%20%7B%0Acolor%3A%20%23990073%3B%0A%7D%0A%2Ehljs%2Dnumber%20%7B%0Acolor%3A%20%23099%3B%0A%7D%0A%2Ehljs%2Dcomment%20%7B%0Acolor%3A%20%23998%3B%0Afont%2Dstyle%3A%20italic%3B%0A%7D%0A%2Ehljs%2Dkeyword%20%7B%0Acolor%3A%20%23900%3B%0Afont%2Dweight%3A%20bold%3B%0A%7D%0A%2Ehljs%2Dstring%20%7B%0Acolor%3A%20%23d14%3B%0A%7D%0A" rel="stylesheet" />
27
+
213
28
 
214
29
  <style type="text/css">code{white-space: pre;}</style>
215
30
  <style type="text/css">
@@ -381,13 +196,26 @@ $(document).ready(function () {
381
196
 
382
197
  <div id="introduction" class="section level1">
383
198
  <h1>Introduction</h1>
384
- <p>In this post we will see how to program with <em>dplyr</em> in Galaaz.</p>
385
- <div id="but-first-what-is-galaaz" class="section level2">
386
- <h2>But first, what is Galaaz??</h2>
387
- <p>Galaaz is a system for tightly coupling Ruby and R. Ruby is a powerful language, with a large community, a very large set of libraries and great for web development. However, it lacks libraries for data science, statistics, scientific plotting and machine learning. On the other hand, R is considered one of the most powerful languages for solving all of the above problems. Maybe the strongest competitor to R is Python with libraries such as NumPy, Pandas, SciPy, SciKit-Learn and many more.</p>
388
- <p>With Galaaz we do not intend to re-implement any of the scientific libraries in R. However, we allow for very tight coupling between the two languages to the point that the Ruby developer does not need to know that there is an R engine running. Also, from the point of view of the R user/developer Galaaz looks a lot like R, with just minor syntactic difference, so there is almost no learning courve for the R developer. And as we will see in this post, programming with <em>dplyr</em> is easier in Galaaz than in R.</p>
389
- <p>R users are probably quite knowledgeable about <em>dplyr</em>, for the Ruby developer, <em>dplyr</em> and the <em>tidyverse</em> libraries are a set of libraries for data manipulation in R, developed by Hardley Wickham, chief scientis at RStudio and a prolific R coder and writer.</p>
390
- <p>For the coupling of Ruby and R we use new technologies provided by Oracle: GraalVM, TruffleRuby and FastR:</p>
199
+ <p>According to Steven Sagaert answer on Quora about “Is programming language R overrated?”:</p>
200
+ <blockquote>
201
+ <p>R is a sophisticated language with an unusual (i.e. non-mainstream) set of features. It‘s an impure functional programming language with sophisticated metaprogramming and 3 different OO systems.</p>
202
+ </blockquote>
203
+ <blockquote>
204
+ <p>Just like common lisp you can completely customise how things work via metaprogramming. The biggest example is the tidyverse: by creating it’s own evaluation system (tidyeval) was able to create a custom syntax for dplyr.</p>
205
+ </blockquote>
206
+ <blockquote>
207
+ <p>Mastering R (the language) and its ecosystem is not a matter of weeks or months but takes years. The rabbit hole goes pretty deep…</p>
208
+ </blockquote>
209
+ <p>Although having a highly configurable language might give extreme power to the programmer, it can also be, as stated above, a question of years to master it. Programming with <em>dplyr</em> for instance, requires learning a set of complex concepts and rules that are not easily accessible for casual users or <em>unsofisticated</em> programmers as many users of R are. Being <em>unsofisticated</em> is NOT used here in a negative sense, as R was build for statitians and not programmers, that need to solve real problems, often in a short time spam and are not concerned about creating complex computer systems.</p>
210
+ <p>Unfortunatelly, if this <em>unsofisticated</em> programmer decides to move unto more sofisticated coding, the learning curve might become a serious impediment.</p>
211
+ <p>In this post we will see how to program with <em>dplyr</em> in Galaaz and how Ruby can simplify the learning curve of mastering <em>dplyr</em> coding.</p>
212
+ </div>
213
+ <div id="but-first-what-is-galaaz" class="section level1">
214
+ <h1>But first, what is Galaaz??</h1>
215
+ <p>Galaaz is a system for tightly coupling Ruby and R. Ruby is a powerful language, with a large community, a very large set of libraries and great for web development. It is also easy to learn. However, it lacks libraries for data science, statistics, scientific plotting and machine learning. On the other hand, R is considered one of the most powerful languages for solving all of the above problems. Maybe the strongest competitor to R is Python with libraries such as NumPy, Pandas, SciPy, SciKit-Learn and many more. We will not get here in the discussion on R versus Python, both are excellent languages with powerful features, benefits and drawbacks. Our interest is to bring to yet another excellent language, Ruby, the data science libraries that it lacks.</p>
216
+ <p>With Galaaz we do not intend to re-implement any of the scientific libraries in R. However, we allow for very tight coupling between the two languages to the point that the Ruby developer does not need to know that there is an R engine running. Also, from the point of view of the R user/developer, Galaaz looks a lot like R, with just minor syntactic difference, so there is almost no learning curve for the R developer. And as we will see in this post that programming with <em>dplyr</em> is easier in Galaaz than in R.</p>
217
+ <p>R users are probably quite knowledgeable about <em>dplyr</em>. For the Ruby developer, <em>dplyr</em> and the <em>tidyverse</em> libraries are a set of libraries for data manipulation in R, developed by Hardley Wickham, chief scientis at RStudio and a prolific R coder and writer.</p>
218
+ <p>For the coupling of Ruby and R, we use new technologies provided by Oracle: GraalVM, TruffleRuby and FastR. GraalVM home page had the following definition:</p>
391
219
  <pre><code> GraalVM is a universal virtual machine for running applications
392
220
  written in JavaScript, Python 3, Ruby, R, JVM-based languages like Java,
393
221
  Scala, Kotlin, and LLVM-based languages such as C and C++.
@@ -414,22 +242,31 @@ $(document).ready(function () {
414
242
 
415
243
  With GraalVM we aim to allow developers to freely choose the right language
416
244
  for the task at hand without making compromises.</code></pre>
417
- <p>Interested readers should also check out the following sites:</p>
418
- <ul>
419
- <li><a href="https://www.graalvm.org/">GraalVM Home</a></li>
420
- <li><a href="https://github.com/oracle/truffleruby">TruffleRuby</a></li>
421
- <li><a href="https://github.com/oracle/fastr">FastR</a></li>
422
- <li><a href="https://medium.com/graalvm/faster-r-with-fastr-4b8db0e0dceb">Faster R with FastR</a></li>
423
- <li><a href="https://medium.freecodecamp.org/how-to-make-beautiful-ruby-plots-with-galaaz-320848058857">How to make Beautiful Ruby Plots with Galaaz</a></li>
424
- <li><a href="https://towardsdatascience.com/ruby-plotting-with-galaaz-an-example-of-tightly-coupling-ruby-and-r-in-graalvm-520b69e21021">Ruby Plotting with Galaaz: An example of tightly coupling Ruby and R in GraalVM</a></li>
425
- <li><a href="https://towardsdatascience.com/how-to-do-reproducible-research-in-ruby-with-gknit-c26d2684d64e">How to do reproducible research in Ruby with gKnit</a></li>
426
- <li><a href="https://r4ds.had.co.nz/">R for Data Science</a></li>
427
- <li><a href="https://adv-r.hadley.nz/">Advanced R</a></li>
428
- </ul>
429
245
  </div>
430
- <div id="programming-with-dplyr" class="section level2">
431
- <h2>Programming with dplyr</h2>
432
- <p>This post will follow closely the work done in <a href="https://dplyr.tidyverse.org/articles/programming.html" class="uri">https://dplyr.tidyverse.org/articles/programming.html</a>, by Hardley Wickham. In it, Hardley states:</p>
246
+ <div id="tidyverse-and-dplyr" class="section level1">
247
+ <h1>Tidyverse and dplyr</h1>
248
+ <p>In <a href="https://rviews.rstudio.com/2017/06/08/what-is-the-tidyverse/">What is the tidyverse?</a> the tidyverse is explained as follows:</p>
249
+ <blockquote>
250
+ <p>The tidyverse is a coherent system of packages for data manipulation, exploration and visualization that share a common design philosophy. These were mostly developed by Hadley Wickham himself, but they are now being expanded by several contributors. Tidyverse packages are intended to make statisticians and data scientists more productive by guiding them through workflows that facilitate communication, and result in reproducible work products. Fundamentally, the tidyverse is about the connections between the tools that make the workflow possible.</p>
251
+ </blockquote>
252
+ <p><em>dplyr</em> is one of the many packages that are part of the tidyverse. It is:</p>
253
+ <blockquote>
254
+ <p>a grammar of data manipulation, providing a consistent set of verbs that help you solve the most common data manipulation challenges:</p>
255
+ </blockquote>
256
+ <blockquote>
257
+ <ol style="list-style-type: decimal">
258
+ <li>mutate() adds new variables that are functions of existing variables</li>
259
+ <li>select() picks variables based on their names.</li>
260
+ <li>filter() picks cases based on their values.</li>
261
+ <li>summarise() reduces multiple values down to a single summary.</li>
262
+ <li>arrange() changes the ordering of the rows.</li>
263
+ </ol>
264
+ </blockquote>
265
+ <p>Very often R is used interactively and users use <em>dplyr</em> to manipulate a single dataset without programming. When users want to replicate their work for multiple datasets, programming becomes necessary.</p>
266
+ </div>
267
+ <div id="programming-with-dplyr" class="section level1">
268
+ <h1>Programming with dplyr</h1>
269
+ <p>In the vignette <a href="https://dplyr.tidyverse.org/articles/programming.html">“Programming with dplyr”</a>, Hardley Wickham states:</p>
433
270
  <blockquote>
434
271
  <p>Most dplyr functions use non-standard evaluation (NSE). This is a catch-all term that means they don’t follow the usual R rules of evaluation. Instead, they capture the expression that you typed and evaluate it in a custom way. This has two main benefits for dplyr code:</p>
435
272
  </blockquote>
@@ -439,6 +276,7 @@ for the task at hand without making compromises.
439
276
  <blockquote>
440
277
  <p>dplyr can choose to compute results in a different way to base R. This is important for database backends because dplyr itself doesn’t do any work, but instead generates the SQL that tells the database what to do.</p>
441
278
  </blockquote>
279
+ <p>But then he goes on:</p>
442
280
  <blockquote>
443
281
  <p>Unfortunately these benefits do not come for free. There are two main drawbacks:</p>
444
282
  </blockquote>
@@ -461,76 +299,89 @@ filter(df, my_var == 1)
461
299
  <blockquote>
462
300
  <p>This makes it hard to create functions with arguments that change how dplyr verbs are computed.</p>
463
301
  </blockquote>
464
- <p>In this post we will see that programming with <em>dplyr</em> in Galaaz does not require knowledge of non-standard evaluation in R and can be accomplished by utilizing normal Ruby constructs.</p>
465
- </div>
302
+ <p>As a result of this, programming with <em>dplyr</em> requires learning a set of new ideas and concepts. In this vignette Hardley goes on showing how to program ever more difficult problems with <em>dplyr</em>, showing the problems it faces and the new concepts needed to solve them.</p>
303
+ <p>In this blog, we will look at all the problems presented by Harley on the vignette and show how those same problems can be solved using Galaaz and the Ruby language.</p>
304
+ <p>This blog is organized as follows: first we show how to write expressions using Galaaz.<br />
305
+ Expressions are a fundamental concept in <em>dplyr</em> and are not part of basic Ruby. We extend the Ruby language create a manipulate expressions that will be used by <em>dplyr</em> functions.</p>
306
+ <p>Then we show very succintly how Ruby and R can be integrated and how R functions are transparently called from Ruby. Galaaz <a href="https://github.com/rbotafogo/galaaz/wiki">user manual</a> (still in development) goes in much deeper detail about this integration.</p>
307
+ <p>Next in section “Data manipulation wiht <em>dplyr</em>” we go through all the problems on the <em>dplyr</em> vignette and look at how they are solved in Galaaz. We then discuss why programming with Galaaz and <em>dplyr</em> is easier than programming with <em>dplyr</em> in plain R.</p>
308
+ <p>The following section looks at another more advanced problem and shows that Galaaz can still handle it without any difficulty. We then provide further reading and concluding remarks.</p>
466
309
  </div>
467
310
  <div id="writing-expressions-in-galaaz" class="section level1">
468
311
  <h1>Writing Expressions in Galaaz</h1>
469
312
  <p>Galaaz extends Ruby to work with expressions, similar to R’s expressions build with ‘quote’ (base R) or ‘quo’ (tidyverse). Expressions in this context are like mathematical expressions or formulae. For instance, in mathematics, the expression <span class="math inline">\(y = sin(x)\)</span> describes a function but cannot be computed unless the value of <span class="math inline">\(x\)</span> is bound to some value.</p>
470
- <p>Let’s take a look at some of those expressions in Ruby:</p>
313
+ <p>Expressions are fundamental in <em>dplyr</em> programming as they are the input to <em>dplyr</em> functions, for instance, as we will see shortly, if a data frame has a column named ‘x’ and we want to add another column, y, to this dataframe that has the values of ‘x’ times 2, then we would call a <em>dplyr</em> function with the expression ‘y = x * 2’.</p>
314
+ <div id="a-note-on-notation" class="section level2">
315
+ <h2>A note on notation</h2>
316
+ <p>This blog was written in Rmarkdown and automatically converted to HTML or PDF (depending on where you are reading this blog) with gKnit (a tool provided by Galaaz). In Rmarkdown, it is possible to write text and code blocks that are executed to generate the final report. Code blocks appear inside a ‘box’ and the result of their execution appear either in another type of ‘box’ with a different background (HTML) or as normal text (PDF). Every output line from the code execution is preceeded by ‘##’.</p>
317
+ </div>
471
318
  <div id="expressions-from-operators" class="section level2">
472
319
  <h2>Expressions from operators</h2>
473
- <p>The code bellow creates an expression summing two symbols. Note that :a and :b are Ruby symbols and are not bound to any value at the time of expression definition:</p>
320
+ <p>The code below creates an expression summing two symbols. Note that :a and :b are Ruby symbols and are not bound to any values at the time of expression definition:</p>
474
321
  <pre class="ruby"><code>exp1 = :a + :b
475
322
  puts exp1</code></pre>
476
323
  <pre><code>## a + b</code></pre>
477
- <p>We can build any complex mathematical expression such as:</p>
324
+ <p>In Galaaz, we can build any complex mathematical expression such as:</p>
478
325
  <pre class="ruby"><code>exp2 = (:a + :b) * 2.0 + :c ** 2 / :z
479
326
  puts exp2</code></pre>
480
327
  <pre><code>## (a + b) * 2 + c^2L/z</code></pre>
481
- <p>The ‘L’ after two indicates that 2 is an integer.</p>
328
+ <p>Expressions are printed with the same format as the equivalent R expressions. The ‘L’ after 2 indicates that 2 is an integer.</p>
329
+ <p>The R developer should note that in R, if she writes the number ‘2’, the R interpreter will convert it to float. In order to get an interger she should write ‘2L’. Galaaz follows Ruby notation and ‘2’ is an integer, while ‘2.0’ is a float.</p>
482
330
  <p>It is also possible to use inequality operators in building expressions:</p>
483
331
  <pre class="ruby"><code>exp3 = (:a + :b) &gt;= :z
484
332
  puts exp3</code></pre>
485
333
  <pre><code>## a + b &gt;= z</code></pre>
486
334
  <p>Expressions’ definition can also make use of normal Ruby variables without any problem:</p>
487
335
  <pre class="ruby"><code>x = 20
488
- y = 30
336
+ y = 30.0
489
337
  exp_var = (:a + :b) * x &lt;= :z - y
490
338
  puts exp_var</code></pre>
491
- <pre><code>## (a + b) * 20L &lt;= z - 30L</code></pre>
339
+ <pre><code>## (a + b) * 20L &lt;= z - 30</code></pre>
492
340
  <p>Galaaz provides both symbolic representations for operators, such as (&gt;, &lt;, !=) as functional notation for those operators such as (.gt, .ge, etc.). So the same expression written above can also be written as</p>
493
341
  <pre class="ruby"><code>exp4 = (:a + :b).ge :z
494
342
  puts exp4</code></pre>
495
343
  <pre><code>## a + b &gt;= z</code></pre>
496
- <p>Two type of expression, however, can only be created with the functional representation of the operators, those are expressions involving ‘==’, and ‘=’. In order to write an expression involving ‘==’ we need to use the method ‘.eq’ and for ‘=’ we need the function ‘.assign’</p>
344
+ <p>Two types of expressions, however, can only be created with the functional representation of the operators. Those are expressions involving ‘==’, and ‘=’. This is the case since those symbols have special meaning in Ruby and should not be redefined.</p>
345
+ <p>In order to write an expression involving ‘==’ we need to use the method ‘.eq’ and for ‘=’ we need the function ‘.assign’:</p>
497
346
  <pre class="ruby"><code>exp5 = (:a + :b).eq :z
498
347
  puts exp5</code></pre>
499
348
  <pre><code>## a + b == z</code></pre>
500
349
  <pre class="ruby"><code>exp6 = :y.assign :a + :b
501
350
  puts exp6</code></pre>
502
351
  <pre><code>## y &lt;- a + b</code></pre>
503
- <p>In general we think that using the functional notation is preferable to using the symbolic notation as otherwise, we end up writing invalid expressions such as</p>
352
+ <p>Users should be careful when writing expressions not to inadvertently use ‘==’ or ‘=’ as this will generate an error, that might be a bit cryptic (in future releases of Galaza, we plan to improve the error message).</p>
504
353
  <pre class="ruby"><code>exp_wrong = (:a + :b) == :z
505
354
  puts exp_wrong</code></pre>
506
355
  <pre><code>## Message:
507
356
  ## Error in function (x, y, num.eq = TRUE, single.NA = TRUE, attrib.as.set = TRUE, :
508
357
  ## object 'a' not found (RError)
509
358
  ## Translated to internal error</code></pre>
510
- <p>and it might be difficult to understand what is going on here. The problem lies with the fact that when using ‘==’ we are comparing expression (:a + :b) to expression :z with ‘==’. When the comparison is executed, the system tries to evaluate :a, :b and :z, and those symbols at this time are not bound to anything and we get a “object ‘a’ not found” message. If we only use functional notation, this type of error will not occur.</p>
359
+ <p>The problem lies with the fact that when using ‘==’ we are comparing expression (:a + :b) to expression :z with ‘==’. When this comparison is executed, the system tries to evaluate :a, :b and :z, and those symbols, at this time, are not bound to anything giving the “object ‘a’ not found” message.</p>
511
360
  </div>
512
361
  <div id="expressions-with-r-methods" class="section level2">
513
362
  <h2>Expressions with R methods</h2>
514
- <p>It is often necessary to create an expression that uses a method or function. For instance, in mathematics, it’s quite natural to write an expressin such as <span class="math inline">\(y = sin(x)\)</span>. In this case, the ‘sin’ function is part of the expression and should not immediately be executed. When we want the function to be part of the expression, we call the function preceeding it by the letter E, such as ‘E.sin(x)’</p>
363
+ <p>It is often necessary to create an expression that uses a method or function. For instance, in mathematics, it’s quite natural to write an expressin such as <span class="math inline">\(y = sin(x)\)</span>. In this case, the ‘sin’ function is part of the expression and should not be immediately executed. When we want the function to be part of the expression, we call the function preceeding it by the letter E, such as ‘E.sin(x)’</p>
515
364
  <pre class="ruby"><code>exp7 = :y.assign E.sin(:x)
516
365
  puts exp7</code></pre>
517
366
  <pre><code>## y &lt;- sin(x)</code></pre>
518
- <p>Expressions can also be written using ‘.’ notation:</p>
367
+ <p>Function expressions can also be written using ‘.’ notation:</p>
519
368
  <pre class="ruby"><code>exp8 = :y.assign :x.sin
520
369
  puts exp8</code></pre>
521
370
  <pre><code>## y &lt;- sin(x)</code></pre>
522
- <p>When a function has multiple arguments, the first one can be used before the ‘.’:</p>
371
+ <p>When a function has multiple arguments, the first one can be used before the ‘.’. For instance, the R concatenate function ‘c’, that concatenates two or more arguments can be part of an expression as:</p>
523
372
  <pre class="ruby"><code>exp9 = :x.c(:y)
524
373
  puts exp9</code></pre>
525
374
  <pre><code>## c(x, y)</code></pre>
375
+ <p>Note that this gives an OO feeling to the code, as if we were saying ‘x’ concatenates ‘y’. As a side note, ‘.’ notation can be used as the R pipe operator ‘%&gt;%’, but is more general than the pipe.</p>
526
376
  </div>
527
377
  <div id="evaluating-an-expression" class="section level2">
528
378
  <h2>Evaluating an Expression</h2>
529
- <p>Expressions can be evaluated by calling function ‘eval’ with a binding. A binding can be provided with a list:</p>
379
+ <p>Although we are mainly focusing on expressions to pass them to <em>dplyr</em> functions, expressions can be evaluated by calling function ‘eval’ with a binding.</p>
380
+ <p>A binding can be provided with a list or a data frame as shown below:</p>
530
381
  <pre class="ruby"><code>exp = (:a + :b) * 2.0 + :c ** 2 / :z
531
382
  puts exp.eval(R.list(a: 10, b: 20, c: 30, z: 40))</code></pre>
532
383
  <pre><code>## [1] 82.5</code></pre>
533
- <p>… with a data frame:</p>
384
+ <p>with a data frame:</p>
534
385
  <pre class="ruby"><code>df = R.data__frame(
535
386
  a: R.c(1, 2, 3),
536
387
  b: R.c(10, 20, 30),
@@ -544,7 +395,7 @@ puts exp.eval(df)
544
395
  <div id="using-galaaz-to-call-r-functions" class="section level1">
545
396
  <h1>Using Galaaz to call R functions</h1>
546
397
  <p>Galaaz tries to emulate as closely as possible the way R functions are called and migrating from R to Galaaz should be quite easy requiring only minor syntactic changes to an R script. In this post, we do not have enough space to write a complete manual on Galaaz (a short manual can be found at: <a href="https://www.rubydoc.info/gems/galaaz/0.4.9" class="uri">https://www.rubydoc.info/gems/galaaz/0.4.9</a>), so we will present only a few examples scripts using Galaaz.</p>
547
- <p>Basically, to call an R function from Ruby with Galaaz, one only needs to preceed the function with ‘R.’. For instance, to create a vector in R, the ‘c’ function is used. From Galaaz, a vector can be created by using ‘R.c’:</p>
398
+ <p>Basically, to call an R function from Ruby with Galaaz, one only needs to preced the function with ‘R.’. For instance, to create a vector in R, the ‘c’ function is used. In Galaaz, a vector can be created by using ‘R.c’:</p>
548
399
  <pre class="ruby"><code>vec = R.c(1.0, 2, 3)
549
400
  puts vec</code></pre>
550
401
  <pre><code>## [1] 1 2 3</code></pre>
@@ -575,23 +426,82 @@ print(lst)
575
426
  puts exp10</code></pre>
576
427
  <pre><code>## y &lt;- 0.850903524534118</code></pre>
577
428
  </div>
578
- <div id="filtering-using-expressions" class="section level1">
579
- <h1>Filtering using expressions</h1>
580
- <p>Now that we know how to write expression and call R functions let’s do some data manipulation in Galaaz. Let’s first start by creating the same data frame that we created previously in section “Programming with dplyr”:</p>
429
+ <div id="data-manipulation-wiht-dplyr" class="section level1">
430
+ <h1>Data manipulation wiht <em>dplyr</em></h1>
431
+ <p>In this section we will give a brief tour <em>dplyr</em>’s usage in Galaaz and how to manipulate data in Ruby with it. This section will follow <a href="https://dplyr.tidyverse.org/articles/dplyr.html"><em>dplyr</em>’s vignette</a> that explores the nycflights13 data set. This dataset contains all 336776 flights that departed from New York City in 2013. The data comes from the US Bureau of Transportation Statistics.</p>
432
+ <p>Let’s start by taking a look at this dataset:</p>
433
+ <pre class="ruby"><code>R.library('nycflights13')
434
+ # check it's dimension
435
+ puts ~:flights.dim
436
+ # and the structure
437
+ ~:flights.str</code></pre>
438
+ <pre><code>## Message:
439
+ ## Method ~ not found in R environment</code></pre>
440
+ <pre><code>## Message:
441
+ ## /home/rbotafogo/desenv/galaaz/lib/R_interface/rsupport.rb:90:in `eval'
442
+ ## /home/rbotafogo/desenv/galaaz/lib/R_interface/rsupport.rb:270:in `exec_function_name'
443
+ ## /home/rbotafogo/desenv/galaaz/lib/R_interface/robject.rb:166:in `method_missing'
444
+ ## /home/rbotafogo/desenv/galaaz/lib/util/exec_ruby.rb:105:in `get_binding'
445
+ ## /home/rbotafogo/desenv/galaaz/lib/util/exec_ruby.rb:102:in `eval'
446
+ ## /home/rbotafogo/desenv/galaaz/lib/util/exec_ruby.rb:102:in `exec_ruby'
447
+ ## /home/rbotafogo/desenv/galaaz/lib/gknit/knitr_engine.rb:650:in `block in initialize'
448
+ ## /home/rbotafogo/desenv/galaaz/lib/R_interface/ruby_callback.rb:77:in `call'
449
+ ## /home/rbotafogo/desenv/galaaz/lib/R_interface/ruby_callback.rb:77:in `callback'
450
+ ## (eval):3:in `function(...) {\n rb_method(...)'
451
+ ## unknown.r:1:in `in_dir'
452
+ ## unknown.r:1:in `block_exec'
453
+ ## /usr/local/lib/graalvm-ce-java11-20.0.0/languages/R/library/knitr/R/block.R:92:in `call_block'
454
+ ## /usr/local/lib/graalvm-ce-java11-20.0.0/languages/R/library/knitr/R/block.R:6:in `process_group.block'
455
+ ## /usr/local/lib/graalvm-ce-java11-20.0.0/languages/R/library/knitr/R/block.R:3:in `&lt;no source&gt;'
456
+ ## unknown.r:1:in `withCallingHandlers'
457
+ ## unknown.r:1:in `process_file'
458
+ ## unknown.r:1:in `&lt;no source&gt;'
459
+ ## unknown.r:1:in `&lt;no source&gt;'
460
+ ## &lt;REPL&gt;:4:in `&lt;repl wrapper&gt;'
461
+ ## &lt;REPL&gt;:1</code></pre>
462
+ <p>Now, let’s use a first verb of <em>dplyr</em>: ‘filter’. This verb, obviously, will filter the data by the given expression. In the next block, we filter by columns ‘month’ and ‘day’. The first argument to the filter function is symbol ‘:flights’. A Ruby symbol, when given to an R function will convert to the R variable of the same name, in this case ‘flights’, that holds the nycflights13 data frame.</p>
463
+ <p>The second and third arguments are expressions that will be used by the filter function to filter by columns, looking for entries in which the month and day are equal to 1.</p>
464
+ <pre class="ruby"><code>puts R.filter(:flights, (:month.eq 1), (:day.eq 1))</code></pre>
465
+ <pre><code>## # A tibble: 842 x 19
466
+ ## year month day dep_time sched_dep_time dep_delay arr_time
467
+ ## &lt;int&gt; &lt;int&gt; &lt;int&gt; &lt;int&gt; &lt;int&gt; &lt;dbl&gt; &lt;int&gt;
468
+ ## 1 2013 1 1 517 515 2 830
469
+ ## 2 2013 1 1 533 529 4 850
470
+ ## 3 2013 1 1 542 540 2 923
471
+ ## 4 2013 1 1 544 545 -1 1004
472
+ ## 5 2013 1 1 554 600 -6 812
473
+ ## 6 2013 1 1 554 558 -4 740
474
+ ## 7 2013 1 1 555 600 -5 913
475
+ ## 8 2013 1 1 557 600 -3 709
476
+ ## 9 2013 1 1 557 600 -3 838
477
+ ## 10 2013 1 1 558 600 -2 753
478
+ ## # … with 832 more rows, and 12 more variables: sched_arr_time &lt;int&gt;,
479
+ ## # arr_delay &lt;dbl&gt;, carrier &lt;chr&gt;, flight &lt;int&gt;, tailnum &lt;chr&gt;,
480
+ ## # origin &lt;chr&gt;, dest &lt;chr&gt;, air_time &lt;dbl&gt;, distance &lt;dbl&gt;, hour &lt;dbl&gt;,
481
+ ## # minute &lt;dbl&gt;, time_hour &lt;dttm&gt;</code></pre>
482
+ <div id="programming-with-dplyr-problems-and-how-to-solve-them-in-galaaz" class="section level2">
483
+ <h2>Programming with <em>dplyr</em>: problems and how to solve them in Galaaz</h2>
484
+ <p>In this section we look at the list of problems that Hardley describes in the “Programming with dplyr” vignette and show how those problems are solved and coded with Galaaz. Readers interested in how those problems are treated in <em>dplyr</em> should read the vignette and use it as a comparison with this blog.</p>
485
+ </div>
486
+ <div id="filtering-using-expressions" class="section level2">
487
+ <h2>Filtering using expressions</h2>
488
+ <p>Now that we know how to write expressions and call R functions, let’s do some data manipulation in Galaaz. Let’s first start by creating a data frame. In R, the ‘data.frame’ function creates a data frame. In Ruby, writing ‘data.frame’ will not parse as a single object. To call R functions that have a ‘.’ in them, we need to substitute the ‘.’ with ’__‘. So, method ’data.frame’ in R, is called in Galaaz as ‘R.data__frame’:</p>
581
489
  <pre class="ruby"><code>df = R.data__frame(x: (1..3), y: (3..1))
582
490
  puts df</code></pre>
583
491
  <pre><code>## x y
584
492
  ## 1 1 3
585
493
  ## 2 2 2
586
494
  ## 3 3 1</code></pre>
587
- <p>The ‘filter’ function can be called on this data frame either by using ‘R.filter(df, …)’ or by using dot notation. We prefer to use dot notation as shown bellow. The argument to ‘filter’ in Galaaz should be an expression. Note that if we gave to filter a Ruby expression such as ‘x == 1’, we would get an error, since there is no variable ‘x’ defined and if ‘x’ was a variable then ‘x == 1’ would either be ‘true’ or ‘false’. Our goal is to filter our data frame returning all rows in which the ‘x’ value is equal to 1. To express this we want: ‘:x.eq 1’, where :x will be interpreted by filter as the ‘x’ column.</p>
495
+ <p><em>dplyr</em> provides the ‘filter’ function, that filters data in a data brame. The ‘filter’ function can be called on this data frame either by using ‘R.filter(df, …)’ or by using dot notation.</p>
496
+ <p>——-FIX———</p>
497
+ <p>We prefer to use dot notation as shown bellow. The argument to ‘filter’ should be an expression. Note that if we gave to filter a Ruby expression such as ‘x == 1’, we would get an error, since there is no variable ‘x’ defined and if ‘x’ was a variable then ‘x == 1’ would either be ‘true’ or ‘false’. Our goal is to filter our data frame returning all rows in which the ‘x’ value is equal to 1. To express this we want: ‘:x.eq 1’, where :x will be interpreted by filter as the ‘x’ column.</p>
588
498
  <pre class="ruby"><code>puts df.filter(:x.eq 1)</code></pre>
589
499
  <pre><code>## x y
590
500
  ## 1 1 3</code></pre>
591
501
  <p>In R, and when coding with ‘tidyverse’, arguments to a function are usually not <em>referencially transparent</em>. That is, you can’t replace a value with a seemingly equivalent object that you’ve defined elsewhere. In other words, this code</p>
592
502
  <pre class="r"><code>my_var &lt;- x
593
503
  filter(df, my_var == 1)</code></pre>
594
- <p>Generates the following error: &quot;object ‘x’ not found.</p>
504
+ <p>Generates the following error: object ‘x’ not found.</p>
595
505
  <p>However, in Galaaz, arguments are referencially transparent as can be seen by the code bellow. Note initally that ‘my_var = :x’ will not give the error “object ‘x’ not found” since ‘:x’ is treated as an expression and assigned to my_var. Then when doing (my_var.eq 1), my_var is a variable that resolves to ‘:x’ and it becomes equivalent to (:x.eq 1) which is what we want.</p>
596
506
  <pre class="ruby"><code>my_var = :x
597
507
  puts df.filter(my_var.eq 1)</code></pre>
@@ -619,8 +529,8 @@ puts df.filter(:x.eq y)
619
529
  <pre><code>## x y
620
530
  ## 1 1 3</code></pre>
621
531
  </div>
622
- <div id="writing-a-function-that-applies-to-different-data-sets" class="section level1">
623
- <h1>Writing a function that applies to different data sets</h1>
532
+ <div id="writing-a-function-that-applies-to-different-data-sets" class="section level2">
533
+ <h2>Writing a function that applies to different data sets</h2>
624
534
  <p>Let’s suppose that we want to write a function that receives as the first argument a data frame and as second argument an expression that adds a column to the data frame that is equal to the sum of elements in column ‘a’ plus ‘x’.</p>
625
535
  <p>Here is the intended behaviour using the ‘mutate’ function of ‘dplyr’:</p>
626
536
  <pre><code>mutate(df1, y = a + x)
@@ -654,8 +564,8 @@ mutate_y(df1)
654
564
  ## mismatched protect/unprotect (unprotect with empty protect stack) (RError)
655
565
  ## Translated to internal error</code></pre>
656
566
  </div>
657
- <div id="different-expressions" class="section level1">
658
- <h1>Different expressions</h1>
567
+ <div id="different-expressions" class="section level2">
568
+ <h2>Different expressions</h2>
659
569
  <p>Let’s move to the next problem as presented by Hardley where trying to write a function in R that will receive two argumens, the first a variable and the second an expression is not trivial. Bellow we create a data frame and we want to write a function that groups data by a variable and summarises it by an expression:</p>
660
570
  <pre class="r"><code>set.seed(123)
661
571
 
@@ -666,29 +576,29 @@ df <- data.frame(
666
576
  b = sample(5)
667
577
  )
668
578
 
669
- as.data.frame(df) </code></pre>
579
+ as.data.frame(df)</code></pre>
670
580
  <pre><code>## g1 g2 a b
671
- ## 1 1 1 2 1
672
- ## 2 1 2 4 3
673
- ## 3 2 1 5 4
674
- ## 4 2 2 3 2
675
- ## 5 2 1 1 5</code></pre>
581
+ ## 1 1 1 3 3
582
+ ## 2 1 2 2 1
583
+ ## 3 2 1 5 2
584
+ ## 4 2 2 4 5
585
+ ## 5 2 1 1 4</code></pre>
676
586
  <pre class="r"><code>d2 &lt;- df %&gt;%
677
587
  group_by(g1) %&gt;%
678
588
  summarise(a = mean(a))
679
589
 
680
- as.data.frame(d2) </code></pre>
681
- <pre><code>## g1 a
682
- ## 1 1 3
683
- ## 2 2 3</code></pre>
590
+ as.data.frame(d2)</code></pre>
591
+ <pre><code>## g1 a
592
+ ## 1 1 2.500000
593
+ ## 2 2 3.333333</code></pre>
684
594
  <pre class="r"><code>d2 &lt;- df %&gt;%
685
595
  group_by(g2) %&gt;%
686
596
  summarise(a = mean(a))
687
597
 
688
598
  as.data.frame(d2) </code></pre>
689
- <pre><code>## g2 a
690
- ## 1 1 2.666667
691
- ## 2 2 3.500000</code></pre>
599
+ <pre><code>## g2 a
600
+ ## 1 1 3
601
+ ## 2 2 3</code></pre>
692
602
  <p>As shown by Hardley, one might expect this function to do the trick:</p>
693
603
  <pre class="r"><code>my_summarise &lt;- function(df, group_var) {
694
604
  df %&gt;%
@@ -708,26 +618,30 @@ def my_summarize(df, group_var)
708
618
  summarize(a: :a.mean)
709
619
  end
710
620
 
711
- puts my_summarize(:df, :g1).as__data__frame</code></pre>
621
+ puts my_summarize(:df, :g1)</code></pre>
712
622
  <pre><code>## g1 g2 a b
713
- ## 1 1 1 2 1
714
- ## 2 1 2 4 3
715
- ## 3 2 1 5 4
716
- ## 4 2 2 3 2
717
- ## 5 2 1 1 5
623
+ ## 1 1 1 3 3
624
+ ## 2 1 2 2 1
625
+ ## 3 2 1 5 2
626
+ ## 4 2 2 4 5
627
+ ## 5 2 1 1 4
718
628
  ##
719
- ## g1 a
720
- ## 1 1 3
721
- ## 2 2 3</code></pre>
629
+ ## # A tibble: 2 x 2
630
+ ## g1 a
631
+ ## &lt;dbl&gt; &lt;dbl&gt;
632
+ ## 1 1 2.5
633
+ ## 2 2 3.33</code></pre>
722
634
  <p>It works!!! Well, let’s make sure this was not just some coincidence</p>
723
- <pre class="ruby"><code>puts my_summarize(:df, :g2).as__data__frame</code></pre>
724
- <pre><code>## g2 a
725
- ## 1 1 2.666667
726
- ## 2 2 3.500000</code></pre>
635
+ <pre class="ruby"><code>puts my_summarize(:df, :g2)</code></pre>
636
+ <pre><code>## # A tibble: 2 x 2
637
+ ## g2 a
638
+ ## &lt;dbl&gt; &lt;dbl&gt;
639
+ ## 1 1 3
640
+ ## 2 2 3</code></pre>
727
641
  <p>Great, everything is fine! No magic, no new functions, no complexities, just normal, standard Ruby code. If you’ve ever done NSE in R, this certainly feels much safer and easy to implement.</p>
728
642
  </div>
729
- <div id="different-input-variables" class="section level1">
730
- <h1>Different input variables</h1>
643
+ <div id="different-input-variables" class="section level2">
644
+ <h2>Different input variables</h2>
731
645
  <p>In the previous section we’ve managed to get rid of all NSE formulation for a simple example, but does this remain true for more complex examples, or will the Galaaz way prove inpractical for more complex code?</p>
732
646
  <p>In the next example Hardley proposes us to write a function that given an expression such as ‘a’ or ‘a * b’, calculates three summaries. What we want a function that does the same as these R statements:</p>
733
647
  <pre><code>summarise(df, mean = mean(a), sum = sum(a), n = n())
@@ -758,8 +672,8 @@ puts my_summarise2((~:df), :a * :b)
758
672
  ## 1 9 45 5</code></pre>
759
673
  <p>Once again, there is no need to use any special theory or functions. The only point to be careful about is the use of ‘E’ to build expressions from functions ‘mean’, ‘sum’ and ‘n’.</p>
760
674
  </div>
761
- <div id="different-input-and-output-variable" class="section level1">
762
- <h1>Different input and output variable</h1>
675
+ <div id="different-input-and-output-variable" class="section level2">
676
+ <h2>Different input and output variable</h2>
763
677
  <p>Now the next challenge presented by Hardley is to vary the name of the output variables based on the received expression. So, if the input expression is ‘a’, we want our data frame columns to be named ‘mean_a’ and ‘sum_a’. Now, if the input expression is ‘b’, columns should be named ‘mean_b’ and ‘sum_b’.</p>
764
678
  <pre><code>mutate(df, mean_a = mean(a), sum_a = sum(a))
765
679
  #&gt; # A tibble: 5 x 6
@@ -793,22 +707,22 @@ end
793
707
  puts my_mutate((~:df), :a)
794
708
  puts my_mutate((~:df), :b)</code></pre>
795
709
  <pre><code>## g1 g2 a b mean_a sum_a
796
- ## 1 1 1 2 1 3 15
797
- ## 2 1 2 4 3 3 15
798
- ## 3 2 1 5 4 3 15
799
- ## 4 2 2 3 2 3 15
800
- ## 5 2 1 1 5 3 15
710
+ ## 1 1 1 3 3 3 15
711
+ ## 2 1 2 2 1 3 15
712
+ ## 3 2 1 5 2 3 15
713
+ ## 4 2 2 4 5 3 15
714
+ ## 5 2 1 1 4 3 15
801
715
  ## g1 g2 a b mean_b sum_b
802
- ## 1 1 1 2 1 3 15
803
- ## 2 1 2 4 3 3 15
804
- ## 3 2 1 5 4 3 15
805
- ## 4 2 2 3 2 3 15
806
- ## 5 2 1 1 5 3 15</code></pre>
716
+ ## 1 1 1 3 3 3 15
717
+ ## 2 1 2 2 1 3 15
718
+ ## 3 2 1 5 2 3 15
719
+ ## 4 2 2 4 5 3 15
720
+ ## 5 2 1 1 4 3 15</code></pre>
807
721
  <p>It really seems that “Non Standard Evaluation” is actually quite standard in Galaaz! But, you might have noticed a small change in the way the arguments to the mutate method were called. In a previous example we used df.summarise(mean: E.mean(:a), …) where the column name was followed by a ‘:’ colom. In this example, we have df.mutate(mean_name =&gt; E.mean(expr), …) and variable mean_name is not followed by ‘:’ but by ‘=&gt;’. This is standard Ruby notation.</p>
808
722
  <p>[explain….]</p>
809
723
  </div>
810
- <div id="capturing-multiple-variables" class="section level1">
811
- <h1>Capturing multiple variables</h1>
724
+ <div id="capturing-multiple-variables" class="section level2">
725
+ <h2>Capturing multiple variables</h2>
812
726
  <p>Moving on with new complexities, Hardley proposes us to solve the problem in which the summarise function will receive any number of grouping variables.</p>
813
727
  <p>This again is quite standard Ruby. In order to receive an undefined number of paramenters the paramenter is preceded by ’*’:</p>
814
728
  <pre class="ruby"><code>def my_summarise3(df, *group_vars)
@@ -816,12 +730,16 @@ puts my_mutate((~:df), :b)
816
730
  summarise(a: E.mean(:a))
817
731
  end
818
732
 
819
- puts my_summarise3((~:df), :g1, :g2).as__data__frame</code></pre>
820
- <pre><code>## g1 g2 a
821
- ## 1 1 1 2
822
- ## 2 1 2 4
823
- ## 3 2 1 3
824
- ## 4 2 2 3</code></pre>
733
+ puts my_summarise3((~:df), :g1, :g2)</code></pre>
734
+ <pre><code>## # A tibble: 4 x 3
735
+ ## # Groups: g1 [?]
736
+ ## g1 g2 a
737
+ ## &lt;dbl&gt; &lt;dbl&gt; &lt;dbl&gt;
738
+ ## 1 1 1 3
739
+ ## 2 1 2 2
740
+ ## 3 2 1 3
741
+ ## 4 2 2 4</code></pre>
742
+ </div>
825
743
  </div>
826
744
  <div id="why-does-r-require-nse-and-galaaz-does-not" class="section level1">
827
745
  <h1>Why does R require NSE and Galaaz does not?</h1>
@@ -832,41 +750,24 @@ puts my_summarise3((~:df), :g1, :g2).as__data__frame
832
750
  </div>
833
751
  <div id="advanced-dplyr-features" class="section level1">
834
752
  <h1>Advanced dplyr features</h1>
835
- <p>In the blog: Programming with dplyr by using dplyr (<a href="https://www.r-bloggers.com/programming-with-dplyr-by-using-dplyr/" class="uri">https://www.r-bloggers.com/programming-with-dplyr-by-using-dplyr/</a>) Iñaki Úcar shows surprise that some R users are trying to code in dplyr avoiding the use of NSE. For instance he says:</p>
753
+ <p>In the blog: <a href="https://www.r-bloggers.com/programming-with-dplyr-by-using-dplyr/">Programming with dplyr by using dplyr</a> Iñaki Úcar shows surprise that some R users are trying to code in dplyr avoiding the use of NSE. For instance he says:</p>
836
754
  <blockquote>
837
755
  <p>Take the example of seplyr. It stands for standard evaluation dplyr, and enables us to program over dplyr without having “to bring in (or study) any deep-theory or heavy-weight tools such as rlang/tidyeval”.</p>
838
756
  </blockquote>
839
757
  <p>For me, there isn’t really any surprise that users are trying to avoid dplyr deep-theory. R users frequently are not programmers and learning to code is already hard business, on top of that, having to learn how to ‘quote’ or ‘enquo’ or ‘quos’ or ‘enquos’ is not necessarily a ‘piece of cake’. So much so, that ‘tidyeval’ has some more advanced functions that instead of using quoted expressions, uses strings as arguments.</p>
840
758
  <p>In the following examples, we show the use of functions ‘group_by_at’, ‘summarise_at’ and ‘rename_at’ that receive strings as argument. The data frame used in ‘starwars’ that describes features of characters in the Starwars movies:</p>
841
- <pre class="ruby"><code>puts (~:starwars).head.as__data__frame</code></pre>
842
- <pre><code>## name height mass hair_color skin_color eye_color birth_year
843
- ## 1 Luke Skywalker 172 77 blond fair blue 19.0
844
- ## 2 C-3PO 167 75 &lt;NA&gt; gold yellow 112.0
845
- ## 3 R2-D2 96 32 &lt;NA&gt; white, blue red 33.0
846
- ## 4 Darth Vader 202 136 none white yellow 41.9
847
- ## 5 Leia Organa 150 49 brown light brown 19.0
848
- ## 6 Owen Lars 178 120 brown, grey light blue 52.0
849
- ## gender homeworld species
850
- ## 1 male Tatooine Human
851
- ## 2 &lt;NA&gt; Tatooine Droid
852
- ## 3 &lt;NA&gt; Naboo Droid
853
- ## 4 male Tatooine Human
854
- ## 5 female Alderaan Human
855
- ## 6 male Tatooine Human
856
- ## films
857
- ## 1 Revenge of the Sith, Return of the Jedi, The Empire Strikes Back, A New Hope, The Force Awakens
858
- ## 2 Attack of the Clones, The Phantom Menace, Revenge of the Sith, Return of the Jedi, The Empire Strikes Back, A New Hope
859
- ## 3 Attack of the Clones, The Phantom Menace, Revenge of the Sith, Return of the Jedi, The Empire Strikes Back, A New Hope, The Force Awakens
860
- ## 4 Revenge of the Sith, Return of the Jedi, The Empire Strikes Back, A New Hope
861
- ## 5 Revenge of the Sith, Return of the Jedi, The Empire Strikes Back, A New Hope, The Force Awakens
862
- ## 6 Attack of the Clones, Revenge of the Sith, A New Hope
863
- ## vehicles starships
864
- ## 1 Snowspeeder, Imperial Speeder Bike X-wing, Imperial shuttle
865
- ## 2
866
- ## 3
867
- ## 4 TIE Advanced x1
868
- ## 5 Imperial Speeder Bike
869
- ## 6</code></pre>
759
+ <pre class="ruby"><code>puts (~:starwars).head</code></pre>
760
+ <pre><code>## # A tibble: 6 x 13
761
+ ## name height mass hair_color skin_color eye_color birth_year gender
762
+ ## &lt;chr&gt; &lt;int&gt; &lt;dbl&gt; &lt;chr&gt; &lt;chr&gt; &lt;chr&gt; &lt;dbl&gt; &lt;chr&gt;
763
+ ## 1 Luke… 172 77 blond fair blue 19 male
764
+ ## 2 C-3PO 167 75 &lt;NA&gt; gold yellow 112 &lt;NA&gt;
765
+ ## 3 R2-D2 96 32 &lt;NA&gt; white, bl… red 33 &lt;NA&gt;
766
+ ## 4 Dart… 202 136 none white yellow 41.9 male
767
+ ## 5 Leia… 150 49 brown light brown 19 female
768
+ ## 6 Owen… 178 120 brown, gr… light blue 52 male
769
+ ## # … with 5 more variables: homeworld &lt;chr&gt;, species &lt;chr&gt;, films &lt;list&gt;,
770
+ ## # vehicles &lt;list&gt;, starships &lt;list&gt;</code></pre>
870
771
  <p>The grouped_mean function bellow will receive a grouping variable and calculate summaries for the value_variables given:</p>
871
772
  <pre class="r"><code>grouped_mean &lt;- function(data, grouping_variables, value_variables) {
872
773
  data %&gt;%
@@ -905,23 +806,40 @@ as.data.frame(gm)
905
806
  rename_at(value_variables, E.funs(E.paste0(&quot;mean_&quot;, value_variables)))
906
807
  end
907
808
 
908
- puts grouped_mean((~:starwars), &quot;eye_color&quot;, E.c(&quot;mass&quot;, &quot;birth_year&quot;)).as__data__frame</code></pre>
909
- <pre><code>## eye_color mean_mass mean_birth_year count
910
- ## 1 black 76.28571 33.00000 10
911
- ## 2 blue 86.51667 67.06923 19
912
- ## 3 blue-gray 77.00000 57.00000 1
913
- ## 4 brown 66.09231 108.96429 21
914
- ## 5 dark NaN NaN 1
915
- ## 6 gold NaN NaN 1
916
- ## 7 green, yellow 159.00000 NaN 1
917
- ## 8 hazel 66.00000 34.50000 3
918
- ## 9 orange 282.33333 231.00000 8
919
- ## 10 pink NaN NaN 1
920
- ## 11 red 81.40000 33.66667 5
921
- ## 12 red, blue NaN NaN 1
922
- ## 13 unknown 31.50000 NaN 3
923
- ## 14 white 48.00000 NaN 1
924
- ## 15 yellow 81.11111 76.38000 11</code></pre>
809
+ puts grouped_mean((~:starwars), &quot;eye_color&quot;, E.c(&quot;mass&quot;, &quot;birth_year&quot;))</code></pre>
810
+ <pre><code>## # A tibble: 15 x 4
811
+ ## eye_color mean_mass mean_birth_year count
812
+ ## &lt;chr&gt; &lt;dbl&gt; &lt;dbl&gt; &lt;dbl&gt;
813
+ ## 1 black 76.3 33 10
814
+ ## 2 blue 86.5 67.1 19
815
+ ## 3 blue-gray 77 57 1
816
+ ## 4 brown 66.1 109. 21
817
+ ## 5 dark NaN NaN 1
818
+ ## 6 gold NaN NaN 1
819
+ ## 7 green, yellow 159 NaN 1
820
+ ## 8 hazel 66 34.5 3
821
+ ## 9 orange 282. 231 8
822
+ ## 10 pink NaN NaN 1
823
+ ## 11 red 81.4 33.7 5
824
+ ## 12 red, blue NaN NaN 1
825
+ ## 13 unknown 31.5 NaN 3
826
+ ## 14 white 48 NaN 1
827
+ ## 15 yellow 81.1 76.4 11</code></pre>
828
+ </div>
829
+ <div id="further-reading" class="section level1">
830
+ <h1>Further reading</h1>
831
+ <p>For more information on GraalVM, TruffleRuby, fastR, R and Galaaz check out the following sites/posts:</p>
832
+ <ul>
833
+ <li><a href="https://www.graalvm.org/">GraalVM Home</a></li>
834
+ <li><a href="https://github.com/oracle/truffleruby">TruffleRuby</a></li>
835
+ <li><a href="https://github.com/oracle/fastr">FastR</a></li>
836
+ <li><a href="https://medium.com/graalvm/faster-r-with-fastr-4b8db0e0dceb">Faster R with FastR</a></li>
837
+ <li><a href="https://medium.freecodecamp.org/how-to-make-beautiful-ruby-plots-with-galaaz-320848058857">How to make Beautiful Ruby Plots with Galaaz</a></li>
838
+ <li><a href="https://towardsdatascience.com/ruby-plotting-with-galaaz-an-example-of-tightly-coupling-ruby-and-r-in-graalvm-520b69e21021">Ruby Plotting with Galaaz: An example of tightly coupling Ruby and R in GraalVM</a></li>
839
+ <li><a href="https://towardsdatascience.com/how-to-do-reproducible-research-in-ruby-with-gknit-c26d2684d64e">How to do reproducible research in Ruby with gKnit</a></li>
840
+ <li><a href="https://r4ds.had.co.nz/">R for Data Science</a></li>
841
+ <li><a href="https://adv-r.hadley.nz/">Advanced R</a></li>
842
+ </ul>
925
843
  </div>
926
844
  <div id="conclusion" class="section level1">
927
845
  <h1>Conclusion</h1>