534 search results for "knitr"

Auditing data transformation

June 2, 2015
By

Auditing data transformation can be simply described as gathering metadata about the transformation process. The most basics metadata would be a timestamp, atomic transformation description, data volume on input, data volume on output, time elapsed. If you work with R only interactively you may find it more like a fancy tool. On the other hand for automated scheduled...

Read more »

“Mail merge” with RMarkdown

June 1, 2015
By
“Mail merge” with RMarkdown

The term “mail merge” might not be familiar to those who have not worked in an office setting, but here is the Wikipedia definition: Mail merge is a software operation describing the production of multiple (and potentially large numbers of) documents from … Continue reading →

Read more »

My favorite R bug

May 23, 2015
By
My favorite R bug

In this note am going to recount “my favorite R bug.” It isn’t a bug in R. It is a bug in some code I wrote in R. I call it my favorite bug, as it is easy to commit and (thanks to R’s overly helpful nature) takes longer than it should to find. The … Continue reading...

Read more »

Stata’s Academic Growth Nearly as Fast as R’s

May 11, 2015
By
Stata’s Academic Growth Nearly as Fast as R’s

by Bob Muenchen Analytics tools take significant effort to master, so once learned people tend to stick with them for much of their careers. This makes the tools used in academia of particular interest in the study of future trends … Continue reading →

Read more »

devtools 1.8.0

May 11, 2015
By
devtools 1.8.0

Devtools 1.8 is now available on CRAN. Devtools makes it so easy to build a package that it becomes your default way to organise code, data and documentation. You can learn more about developing packages at http://r-pkgs.had.co.nz/. Get the latest version of devtools with: install.packages("devtools") There are three main improvements: More helpers to get you

Read more »

R, Python, MATLAB, & Excel Dashboards & Graphs with D3.js & WebGL

April 29, 2015
By
R, Python, MATLAB, & Excel Dashboards & Graphs with D3.js & WebGL

Web tools like D3.js and WebGL let you make beautiful, interactive 2D and 3D graphs. You can now publish graphs and dashboards with these technologies using Python, R, MATLAB, & Excel. Publishing and sharing is one extra line of code. This post puts you on your way, no downloads or installations required. We’ll start with ggplot2; scroll to see Python and MATLAB plots in 2D and 3D. See our

Read more »

pandoc, markdown and pander

April 23, 2015
By
pandoc, markdown and pander

Pandoc + markdown seem to be a great way of documenting my work. Markdown syntax is very simple and allows to add basic formatting and figures to an otherwise simple text document, without obfuscating the actual text. Then I simply compile the document using the pandoc command: There are some more tricks, of course, and

Read more »

ID3 Classification using data.tree

April 17, 2015
By
ID3 Classification using data.tree

Introduction About this vignette What is ID3? Feature Selection Purity and Entropy Information Gain The ID3 algorithm Pseudo code Implementation in R with the data.tree package Training with data Prediction The prediction method Using the prediction method While preparing this example, I asked my nine-year-old daughter, “Anaïs, imagine you have a basket full of mushrooms. The post

Read more »

Six Ways You Can Make Beautiful Graphs (Like Your Favorite Journalists)

April 8, 2015
By
Six Ways You Can Make Beautiful Graphs (Like Your Favorite Journalists)

This post shows how to make graphs like The Economist, New York Times, Vox, 538, Pew, and Quartz. And you can share–embed your beautiful, interactive graphs in apps, blog posts, and web sites. Read on to learn how. If you like interactive graphs and need to securely collaborate with your team, contact us about Plotly Enterprise.

Read more »

Makefiles and RMarkdown

March 28, 2015
By
Makefiles and RMarkdown

Quite some time ago (October 2013, according to Amazon), I bought a copy of “Reproducible Research with R and RStudio” by Christopher Gandrud. And it was awesome. Since then, I’ve been using knitr and RMarkdown quite a lot. However, until recently, I never bothered with a makefile. At the time, I had assumed that it

Read more »