464 search results for "knitr"

Interactive documents: An incredibly easy way to use Shiny

June 19, 2014
By
Interactive documents: An incredibly easy way to use Shiny

R Markdown’s new interactive documents provide a quick, light-weight way to use Shiny. An interactive document embeds Shiny elements in an R Markdown report. The report becomes “live”, a choose your own adventure that readers can control and explore. Interactive documents are easy to create and easy to share. Create an interactive document To create an interactive document

Read more »

R Markdown v2

June 18, 2014
By
R Markdown v2

People rarely agree on a best authoring tool or language. Some people cannot live without \LaTeX{} because of the beauty and quality of its PDF output. Some \feel{} \uncomfortable{} \with{} \backslashes{}, and would rather live in another World Word. We have also witnessed the popularity of Markdown, an incredibly simple language (seriously? a LANGUAGE?) that has made reproducible research much easier.

Read more »

PITFALL: Did you really mean to use matrix(nrow, ncol)?

June 17, 2014
By
PITFALL: Did you really mean to use matrix(nrow, ncol)?

Are you a good R citizen and preallocates your matrices? If you are allocating a numeric matrix in one of the following two ways, then you are doing it the wrong way!x <- matrix(nrow=500, ncol=100)orx <- matrix(NA, nrow=500, ncol=100)Why? Becau...

Read more »

useR!2014 Rcpp11 tutorial

June 17, 2014
By

We are getting close to useR!2014. I hope I'll see some of you at my tutorial about Rcpp11 in the morning. There are some other pretty useful tutorials as well, so no hard feeling if you don't come, but if you do want to know about modern R and C++, pl...

Read more »

Playing with GUIs in R with RGtk2

June 16, 2014
By
Playing with GUIs in R with RGtk2

Sometimes when we create some nice functions which we want to show other people who don’t know R we can do two things. We can teach them R what is not easy task which also takes time or we can…Read more ›

Read more »

Text mining in R – Automatic categorization of Wikipedia articles

June 16, 2014
By
Text mining in R – Automatic categorization of Wikipedia articles

Text mining is currently a live issue in data analysis. Enoromus text data resourses on the Internet made it an important component of Big Data world. The potential of information hidden in the words is the reason why I find…Read more ›

Read more »

Reproducible research is still a challenge

June 9, 2014
By

Science is reportedly in the middle of a reproducibility crisis. Reproducibility seems laudable and is frequently called for (e.g., nature and science). In general the argument is that research that can be independently reproduced is more reliable than research that cannot be independently reproduced. It is also worth noting that reproducing research is...

Read more »

Female hurricanes reloaded – another reanalysis of Jung et al.

June 6, 2014
By
Female hurricanes reloaded – another reanalysis of Jung et al.

I have blogged a few days a ago about a study by Kiju Jung that suggested that implicit bias leads people to underestimate the danger of female-named hurricanes. The study used historical data to demonstrate a correlation between femininity and death-toll, and subsequent experiments seemed to show that people indeed estimate hurricanes to be less…

Read more »

A simple workflow for using R with Microsoft Office products

June 5, 2014
By
A simple workflow for using R with Microsoft Office products

The challenge of integrating Microsoft products with R software has been an outstanding issue for several years. Reasons for these issues are complicated and related to fundamental differences in developing proprietary vs open-source products. To date, I don’t believe there has been a satisfactory solution but I present this blog as my attempt to work

Read more »

Shading between two lines – ggplot

June 1, 2014
By
Shading between two lines – ggplot

First one to say geom_ribbon loses. I was plotting some data for a colleague, had two lines (repeated experiment) per person (time on the x axis) facetted by id, I thought it’d be nice to shade the area between the … Continue reading →

Read more »