I have a data.table, that consist of 7 intervals (upperBoundry-lowerBoundry) and the respective count of A, count of B and total count:
lowerBoundry upperBo