Articles by Nathan Green

Health Economics in R Data Hack

March 21, 2020 | Nathan Green

On January 21st – 22nd 2020 at Queen’s University Belfast, we hosted the second health economics in R event – a workshop/hackathon/data dive mash-up. (Read about the first one here). Generally, day one was aimed more at people new to health economics and R. Day two was aim more at ...
[Read more...]

jagsAddIn: an RStudio AddIn

February 18, 2020 | Nathan Green

I have been aware of the RStudio AddIns for a while now but never really saw the usefulness in them (see here To me the benefit of using RStudio is so coding in R is more fun and including more menus and clicking and taking ... [Read more...]

Reconstructing data from Kaplan-Meier curves

December 3, 2019 | Nathan Green

Using the methodology given in Guyot et al. BMC Medical Research Methodology 2012, 12:9 (, we held a practical session to show how to do this in R. The algorithm in Guyot (2012) is included in the digitise() function in the survHE package. The first step is to extract ...
[Read more...]

Health Economics in R Hackathon

November 25, 2019 | Nathan Green

Imperial College 2019 On November 6th – 7th 2019 at Imperial College London, we hosted the first health economics in R hackathon. The event was aimed at health economists, statistcians and R users who are interested in creating new R tools to tackle problems in health economics large or small. There was a ...
[Read more...]

Creating WordPress blog posts with RMarkdown

November 25, 2019 | Nathan Green

R Markdown This blog post is written as an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see When you click the Knit button a document will be generated that ... [Read more...]

De-duplicating clinic visits

November 25, 2019 | Nathan Green

Problem We want to only keep an individual’s clinic visits which are for new infections.Therefore, want to remove repeat visit to the clinicwhere a repeat is defined as within 6 weeks of the previous visit. Solutions There are a number of way to tackle this problem which vary in ... [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)