Description Usage Arguments Value Examples
From a long format matrix to a a wide format matrix.
1 | prepflows(mat, i, j, fij)
|
mat |
A data.frame of flows between origins and destinations: long format matrix (origins, destinations, flows intensity). |
i |
A character giving the origin field name in mat. |
j |
A character giving the destination field name in mat. |
fij |
A character giving the flow field name in mat. |
A square matrix of flows. Diagonal can be filled or empty depending on data used.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.