get_crosswalk | R Documentation |
After running compress, this function creates a crosswalk table. Usually it is preferred to call merge_units directly.
get_crosswalk(compression, n_units = NULL, percent = NULL, parts = FALSE)
compression |
A "segcompression" object returned by compress. |
n_units |
Determines the number of merges by specifying the number of
units to remain in the compressed dataset.
Only |
percent |
Determines the number of merges by specifying the percentage
of total segregation information retained in the compressed dataset.
Only |
parts |
(default: FALSE) |
Returns a ggplot2 plot.
Returns a data.table.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.