Function to format the median and IQR of a variable
formatMedIQR(x, d = 2, na.rm = TRUE)
A character string with results
the data to have the median and IQR calculated
How many digits to display. Defaults to 2.
Logical whether to remove missing values. Defaults to TRUE
.