whist function

Weighted HistogramsPlots or computes the histogram with observations with multiplicities/weights.Just like hist, whist can either plot the histogram or compute the values that define the histogram, by setting plot to TRUE or FALSE.The histogram can either be the one for frequencies or density, by setting freq to TRUE or FALSE.