round_transport_matrix | R Documentation |
Round transportation matrix to feasible set
round_transport_matrix(transport_matrix, mass_x, mass_y)
transport_matrix |
A transportation matrix returned by an approximate method |
mass_x |
The distribution of the first margin |
mass_y |
The distribution of the second margin |
Returns a transportation matrix projected to the feasible set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.