# NOT RUN {
# messy string of confidence intervals
mystring = c( "0.65 [0.6, 0.7]", "0.8(0.5, 0.9]", "1.2 [0.3, 1.5)")
parse_CI_string(mystring)
# now with a hyphen separator
mystring = c( "0.65 [0.6- 0.7]", "0.8(0.5 - 0.9]", "1.2 [0.3 -1.5)")
parse_CI_string(mystring, sep="-")
# }
Run the code above in your browser using DataLab