511 search results for "knitr"

knitr: nice alternative for Sweave

December 17, 2011
By

I recently discovered knitr for dynamic report generation in R. It seems like a very powerful alternative to Sweave. Particularly, I am interested in png graphic device support (it supports more than 20 graphic devices) and R code formatting.Check it o...

Read more »

knitr: Elegant, flexible and fast dynamic report generation with R

December 1, 2011
By

The world has changed. You can feel it on GitHub. You can smell it on Google+. The knitr package, as an alternative tool to Sweave, has features that you have been longing for, and features that you might have never imagined. Thumb through the PDF manu...

Read more »

knitr: Elegant, flexible and fast dynamic report generation with R

December 1, 2011
By

The world has changed. You can feel it on GitHub. You can smell it on Google+. For those who have been struggling with Sweave, here comes the knitr package. It has features that you have been longing for, and features that you might have never imagined. Thumb through the PDF manual to see some of

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 »

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 »