PartitionData {MGMM} | R Documentation |
Partition Data by Missingness Pattern
Description
Returns a list with the input data split in separate matrices for complete cases, incomplete cases, and empty cases.
Usage
PartitionData(data)
Arguments
data |
Data.frame. |
Value
List containing:
The original row and column names: 'orig_row_names', 'orig_col_names'.
The original row and column numbers: 'n_row' and 'n_col'.
The complete cases 'data_comp'.
The incomplete cases 'data_incomp'.
The empty cases 'data_empty'.
Counts of complete 'n0', incomplete 'n1', and empty 'n2' cases.
Initial order of the observations 'init_order'.
[Package MGMM version 1.0.1.1 Index]