My data looks like the example below. (sorry if it\'s to long, not sure what\'s acceptable/needed).
I have used the following code to calculate the median and IQR of