Description Usage Arguments Value
View source: R/cast_tabflows.R
This function allows you to create an Origin/Destination squared matrix from a Origin/Destination long format matrix
1 | cast_tabflows(idpol, tabflows, idori, iddes, idflow)
|
idpol |
A character vector with id values for the spatial units |
tabflows |
A data.frame of flows between origins and destinations (long format matrix containing, at least, 3 column : origins, destinations, flows) |
idori |
A character string giving the origin field name in tabflows |
iddes |
A character string giving the destination field name in tabflows |
idflow |
A character string giving the flow field name in tabflows |
A squared Origins (rows) and Destination (columns) matrix of flows
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.