dhist_mean_location | R Documentation |
Calculates mean location for a discrete histogram by taking a weighted sum of each location weighted by the fraction of the total histogram mass at that location.
dhist_mean_location(dhist)
dhist |
A discrete histogram as a |
The mass-weighted mean location
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.