Category Archives: R

Blog posts about R & statistics

Dealing with non-proportional hazards in R

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 coefficient was close … Continue reading

Posted in Orthopaedic surgery, R, Research, Tutorial | Tagged , , , | Leave a comment

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

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. I’ve created a … Continue reading

Posted in R, Tutorial | Tagged , | 23 Comments