Relative Content

Tag Archive for rfunctiondplyrstringrcurly-braces

Custom Function Using Stringr Package and Curly Brackets

I am performing a systematic review and have a mix of studies that contain both mean (SD) and median (IQR). I’m trying to create a function to convert median (IQR) to mean (SD) using the Wan method (2014). I have labelled the median data with ‘number’m (eg 34m), and the IQR is a range (eg 16-45).