Learn R Programming

RNOmni (version 1.0.0)

PartitionData: Partition Data

Description

Partition y and X according to the missingness pattern of g.

Usage

PartitionData(e, g, X)

Value

List containing:

  • "g_obs", observed genotype vector.

  • "X_obs", covariates for subjects with observed genotypes.

  • "X_mis", covariates for subjects with missing genotypes.

  • "e_obs", residuals for subjects with observed genotypes.

Arguments

e

Numeric residual vector.

g

Genotype vector.

X

Model matrix of covariates.