I am using the
fit function from the
StatsBase package in order to calculate the histogram for an array of numbers. For example:
l = rand(100) hist = fit(Histogram, l)
Is there a way to extract the most populated bin in
hist ( i.e the bin with largest number of data points)?
Thanks in advance