merge_units {segregation} | R Documentation |
Creates a compressed dataset
Description
After running compress, this function creates a dataset where units are merged.
Usage
merge_units(compression, n_units = NULL, percent = NULL, parts = FALSE)
Arguments
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) |
Value
Returns a data.table.
[Package segregation version 1.1.0 Index]