Description Usage Arguments Value Examples
View source: R/flowstructmat.R
Fixes an ID shift in the flow matrix (to bo use with flowjointure if necessary and flowtabmat)
1 |
z |
The input flow dataset in the matrice format where the first column is filled with the ID |
A flow dataset with an usable format
1 2 3 4 5 6 7 8 9 | library(cartograflow)
data(flowdata)
dim(mat_ex) # dimension fo the original matrice
### 10 11 # first colum is fill with the ID
tab <- flowstructmat(mat_ex)
dim(tab)
## 10 10 # dimension fo the resulting matrice
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.