Publications by Max Gordon

Pimping your forest plot

23.02.2014

A forest plot using different markers for the two groups 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 a...

2894 sym R (7376 sym/14 pcs) 12 img 7 tbl

Fast-track publishing using the new R markdown – a tutorial and a quick look behind the scenes

29.07.2014

The new rmarkdown revolution has started. The image is CC by Jonathan Cohen. The new R Markdown (rmarkdown-package) introduced in Rstudio 0.98.978 provides some neat features by combining the awesome knitr-package and the pandoc-system. The system allows for some neat simplifications of the fast-track-publishing (ftp) idea using so called formats...

7909 sym R (11132 sym/16 pcs) 29 img 8 tbl

An exercise in non-linear modeling

07.09.2014

Finding the right curve can be tricky. The image is CC by Martin Gommel. In my previous post I wrote about the importance of age and why it is a good idea to try avoiding modeling it as a linear variable. In this post I will go through multiple options for (1) modeling non-linear effects in a linear regression setting, (2) benchmark the methods o...

9754 sym R (24492 sym/30 pcs) 24 img 16 tbl

How-to go parallel in R – basics + tips

16.02.2015

Don’t waist another second, start parallelizing your computations today! The image is CC by Smudge 9000 Today is a good day to start parallelizing your code. I’ve been using the parallel package since its integration with R (v. 2.14.0) and its much easier than it at first seems. In this post I’ll go through the basics for implementing para...

13120 sym R (7911 sym/92 pcs) 6 img 36 tbl

Introducing the htmlTable-package

22.04.2015

How should we convey complex data? The image is is CC by Sacha Fernandez. My htmlTable-function has perhaps been one of my most successful projects. I developed it in order to get tables matching those available in top medical journals. As the function has grown I’ve decided to separate it from my Gmisc-package into a separate package, and at t...

3305 sym R (6445 sym/18 pcs) 4 img 14 tbl

R trends in 2015 (based on cranlogs)

20.01.2016

What are the current tRends? The image is CC from coco + kelly.It is always fun to look back and reflect on the past year. Inspired by Christoph Safferling’s post on top packages from published in 2015, I decided to have my own go at the top R trends of 2015. Contrary to Safferling’s post I’ll try to also (1) look at packages from previous ...

5032 sym R (11692 sym/9 pcs) 5 img 7 tbl

Dealing with non-proportional hazards in R

29.03.2016

As things change over time so should our statistical models. The image is CC by Prad Prathivi Since I’m frequently working with large datasets and survival data I often find that the proportional hazards assumption for the Cox regressions doesn’t hold. In my most recent study on cardiovascular deaths after total hip arthroplasty the coefficie...

8076 sym R (12049 sym/23 pcs) 14 img 11 tbl

Long-awaited updates to htmlTable

07.01.2019

Lets celebrate 2019 with some updates to my most popular package ever, the htmlTable. The image is CC by Thomas Hawk One of the most pleasant surprises has been the popularity of my htmlTable-package with more than 100k downloads per month. This is all thanks to more popular packages relying on it and the web expanding beyond its original boundar...

2845 sym R (1450 sym/6 pcs) 4 img 2 tbl

News in htmlTable 2.0

04.07.2020

A short intro to the new features in htmlTable 2.0. The image is a blend based on a CC image by Ken Xu. The htmlTable 2.0 package was just released on CRAN! It is my most downloaded package with 160 000+ downloads/month and this update is something that I have been wanting to do for a long time. For those of you that never encountered htmlTable i...

5186 sym R (3035 sym/4 pcs) 12 img

Easiest flowcharts eveR?

30.08.2020

A guide to flowcharts using my Gmisc package. The image is CC by Michael Staats. A flowchart is a type of diagram that represents a workflow or process. The building blocks are boxes and the arrows that connect them. If you have submitted any research paper the last 10 years you have almost inevitably been asked to produce a flowchart on how you ...

4840 sym R (4336 sym/7 pcs) 8 img