Blog Archives

Pimping your forest plot

February 23, 2014
By
Pimping your forest plot

In order to celebrate my Gmisc-package being on CRAN I decided to pimp up the forestplot2 function. I had a post on this subject and one of the suggestions I got from the comments was the ability to change the default box marker to something else. This idea had been in my mind for a while and I therefore...

Read more »

Fast-track publishing using knitr: stitching it together (part V)

January 20, 2014
By
Fast-track publishing using knitr: stitching it together (part V)

Fast-track publishing using knitr is a short series on how I use knitr to speedup publishing in my research. There has been plenty of feedback and interest for the series, and in this post I would like to provide (1) a brief summary and (2) an example showing how to put all the pieces together. [caption id="attachment_1094"...

Read more »

Fast-track publishing using knitr: table mania (part IV)

January 15, 2014
By
Fast-track publishing using knitr: table mania (part IV)

Fast-track publishing using knitr is a short series on how I use knitr to speedup publishing in my research. While illustrations (previous post) are optional, tables are not, and this fourth article is therefore devoted to tables. Tables through knitr is probably one of the most powerful fast-track publishing tools, in this article I will show (1) how...

Read more »

Fast-track publishing using knitr: exporting images for sharing and press (part III)

January 7, 2014
By
Fast-track publishing using knitr: exporting images for sharing and press (part III)

(This article was first published on G-Forge » R, and kindly contributed to R-bloggers) Images can be a powerful medium if used right. The image is CC by alemdag. Fast-track publishing using knitr is a short series on how I use knitr to speedup publishing in my research. This is the third article in the series devoted to plots....

Read more »

Fast-track publishing using knitr: the setup using .RProfile with custom CSS + some HTML goodies (part II)

January 3, 2014
By
Fast-track publishing using knitr: the setup using .RProfile with custom CSS + some HTML goodies (part II)

Fast-track publishing using knitr is a short is a short series on how I use knitr to get my articles faster published. This is part II where I will show how you can tweak RStudio into producing seamless MS Word-integration by using the .RProfile together with CSS, a few basics about HTML that might be...

Read more »

Fast-track publishing using knitr: intro (part I)

December 30, 2013
By
Fast-track publishing using knitr: intro (part I)

Fast-track publishing using knitr is a short series on how I use knitr to get my articles faster published. By fast-track publishing I mean eliminating as many of the obstacles as possible during the manuscript phase, and not the fast-track some journals offer. In this first introductory article I will try to (1) define the main groups of...

Read more »

The forestplot of dreams

December 8, 2013
By
The forestplot of dreams

Displaying large regression models without overwhelming the reader can be challenging. I believe that forestplots are amazingly well suited for this. The plot gives a quick understanding of the estimates position in comparison to other estimates, while also showcasing the uncertainty. This project started with some minor tweaks to prof. Thomas Lumleys forestplot and ended up in a...

Read more »

Too crude to be true?

October 8, 2013
By
Too crude to be true?

The key to programming is being lazy; it has actually been called a virtue by some. When I discovered the update() function it blew me away. Within short I had created a monster based upon this tiny function, allowing quick and easy output of regression tables that contain crude and adjusted estimates. In this post I’ll show...

Read more »

Visualizing transitions with the transitionPlot function

June 19, 2013
By
Visualizing transitions with the transitionPlot function

A transition between states - the above is a simulation of before and after surgery where I've highlighted the large proportion that...

Read more »

Getting to the point – an alternative to the bezier arrow

May 21, 2013
By
Getting to the point – an alternative to the bezier arrow

An alternative bezier arrow to the regular grid-bezier. Apart from a cool gradient it has the advantages of: exact width, exact start/end points and axis...

Read more »