This repository houses the code used in the analysis for the paper "Developing and validating subjective and objective risk-assessment measures for predicting mortality after major surgery: An international prospective cohort study" Danny J. N. Wong, Steve Harris, Arun Sahni, James R. Bedford, Laura Cortes, Richard Shawyer, Andrew M. Wilson, Helen A. Lindsay, Doug Campbell, Scott Popham, Lisa M. Barneto, Paul S. Myles, SNAP-2: EPICCS collaborators, S. Ramani Moonesinghe. PLOS Medicine. Published: October 15, 2020. https://doi.org/10.1371/journal.pmed.1003253
The data that accompanies this analysis is available from: https://doi.org/10.1371/journal.pmed.1003253.s024
All the analyses within the above paper can be reproduced using the SNAP2_Clinician_Predictions_Analysis.R
script file contained in this repository. While the manuscript was originally written as an .Rmd
file as I have previously done in the past, there was substantial editing done in Microsoft Word due to the collaboration with multiple authors, such that the .Rmd
file output differed substantially from the final manuscript versions accepted by the journal for publication. I have therefore elected not to include the .Rmd
file in this instance, and instead include just the R
script for the analyses themselves to be reproduced.