format a list of range (HPD, CI, etc that has length of 2)
range_format(x, trans = NULL)
x
input list
trans
transformation function
character vector of '[lower, upper]'
Guangchuang Yu