cost_matrix | R Documentation |
Generates a matrix for the cost of moving a unit of mass between each bin in histogram 1 and each bin in histogram 2.
cost_matrix(bin_centres1, bin_centres2)
bin_centres1 |
Bin centres for histogram 1 |
bin_centres2 |
Bin centres for histogram 2 |
Cost matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.