getFrequencies:
Observed Frequencies in each bin.
Description
This function provides a convenient way to check whether the target frequencies have been reached.
Since new bins can be created during the algorithm, this function aggregates them in the right way
so that the user can know if the initial bins (on which the desired frequencies were specified)
have been visited enough.
Usage
getFrequencies(results, binning)
Arguments
binning
Object of class binning: the binning on which the frequencies have to be computed.
Value
The function is supposed to be used for the lines that it prints in the console.
However it also returns a vector of sampling frequencies corresponding to the initial bins.