It's not always easy getting the right size. The image is CC by Kristina Gill.
A vital part of statistics is producing nice plots, an area where R is outstanding. The graphical ablility of R...
It's not always easy getting the right size. The image is CC by Kristina Gill.
A vital part of statistics is producing nice plots, an area where R is outstanding. The graphical ablility of R...
Below I briefly outline why Pandoc is an essential part of my research workflow, and demonstrate how to seamlessly integrate it with a bibliographic system and code written in R to produce high quality word or pdf documents. I also...
NOTE: THIS IS NOW A PACKAGE SEE THIS LINK FOR DETAILS Let me start with a video for people who just want to see what I’m demo-ing first: I’ve been interested in speeding up workflow lately and spending a lot … Continue reading →
Knitr is a great tool for doing reproducible research. You can produce all kinds of output inside a single knitr chunk, e.g. you can write a loop to produce lots of figures or tables. The only catch is if you want your figures to have differing captions, heights, etc (and usually you do). The standard
At D-RUG this week Rosemary Hartman presented a really useful case study in model selection, based on her work on frog habitat. Here is her code run through ‘knitr’. Original code and data are posted here.
(yes, I am just doing this for the flying monkey)
Editor’s note: we’re giving away flying monkey dolls from our...
Since at some point I had trouble with a conflict between knitr and the latex package textpos, I used the lesser Sweave in Another Experiment with R and Sweave. I ran the Sweave2knitr command and discovered that textpos and knitr play well togeth...
Sometimes I want to use R to fill in values that are missing in one data frame with values from another. For example, I have data from the World Bank on government deficits. However, there are some country-years with missing data. I gathered data from ...