Code snippets – 2 scale y axes in {ggplot2} Inspired by conversations on the NHS-R Slack where code answers are lost over time (it’s not a paid account), and ...Read More digraphsggplot2 ZT Zoë Turner 28 March 2023
Code snippets – first(), last() and nth() {dplyr} functions Inspired by conversations on the NHS-R Slack where code answers are lost over time (it’s not a paid account), and ...Read More dplyr ZT Zoë Turner 13 March 2023
Code snippets – regular expressions Inspired by conversations on the NHS-R Slack where code answers are lost over time (it’s not a paid account), and ...Read More dplyrregextidy data ZT Zoë Turner 25 February 2023
A roundup from the 2022 NHS-R Conference – Part 1 What are the latest health research applications using R? A roundup from the 2022 NHS-R conference. With 47 projects presented ...Read More LM Laura Moscoviz 9 February 2023
Fuzzy joining tables using string distance methods Image from Unsplash https://unsplash.com/photos/lmClF825VYI of blurred yellow taxi cars. ...Read More ggplot2rstats TJ Tom Jemmett 3 February 2023
NHS-R Workshop: Development and validation of clinical prediction models using R Dr Faisal provided a very comprehensive introduction to Clinical Prediction Modelling (CPM for short), focusing on the five stages of ...Read More rstats EI Eduard Incze 15 December 2022
A dbplyr-based Address Matching Package The challenge Matching address records from one table to another is a common and often repeated task. This is easy ...Read More dbplyr AS Adnan Shroufi 17 October 2022
The “nhsnumber” package and the joy of sharing your niche Being the author of a package with tens of thousands of users must be incredibly rewarding. All those people getting ...Read More MS Mark Sellors 19 July 2022
New year, new laptop, new library location, new version of R! Eek? Starting again wasn’t nearly as painful as it used to be, thanks to {installr} and the generosity of people ...Read More CT Cara Thompson 17 June 2022
Alignment cheatsheet I’ve used {ggtext}’s geom_textbox() a lot in my recent data visualisations, but, every time, I end up resorting to a ...Read More ggplot2R-tipsrstats CT Cara Thompson 11 May 2022
Using R to create column charts featuring 95% confidence intervals At work, I’ve been trying to use R to create column charts featuring 95% confidence intervals. I approached the friendly people on the NHS R Community’s Slack channel for further information and guidance. ...Read More rstats DW Daniel Weiand 5 January 2022
Animated Population pyramids in R: part 1 Anastasiia Zharinova, Healthcare Analyst 12 March 2019 Even in my relatively short experience of working as healthcare analyst, I have ...Read More AZ Anastasiia Zharinova 10 September 2021