Learn R Programming

MGMM (version 0.3.1)

PartitionData: Paratition a Data.frame by Missingness cases.

Description

Paratition a Data.frame by Missingness 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`.