| long_to_cost_matrix | R Documentation |
The long-format door of lap_solve() and lap_solve_kbest(). Cells no row
names are forbidden, which is what makes an absent pair an absent edge
rather than a zero-cost one.
long_to_cost_matrix(source_vals, target_vals, cost_vals, forbidden = NA)
List with the matrix and the source / target level vectors its row and column indices stand for.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.