Customize how R tmap legend values are printed
问题 Is there a way to customize how R tmap legend values are printed? Instead of: ...I want to achieve the following classification in order to avoid printing two times the same value: 248-500 50 1 -1000 (501 instead of 500) 100 1 -10000 (1001 instead of 1000) 1000 1 -20000 (10001 instead of 10000) 2000 1 -21588 (20001 instead of 20000) Also I would like to print all "-" exactly beneath each other so that all tens, hundreds and thousend values are easily comparable. This image illustrates the