R/brks_to_txt.R
brks_to_txt.Rd
Convert breaks matrix to text that can be stored in readme
brks_to_txt(brks)
a matrix of breaks with columns start, end and class
A string with breaks in the format "class: (start - end);"
brks_to_txt(matrix(data = 1:6, nrow = 2, byrow = TRUE)) #> [1] "3: (1 - 2);6: (4 - 5)"