mig_matrix {migest} | R Documentation |
Helper function to format migration input
Description
Helper function to format migration input
Usage
mig_matrix(
m,
array = TRUE,
orig_col = "orig",
dest_col = "dest",
flow_col = "flow"
)
Arguments
m |
A |
array |
Logical on return of array of all dimensions or origin-destination matrix (summed over all other dimensions) |
orig_col |
Character string of the origin column name (when |
dest_col |
Character string of the destination column name (when |
flow_col |
Character string of the flow column name (when |
Value
Formatted matrix
[Package migest version 2.0.4 Index]