haplo.stats (version 1.9.5.1)

na.geno.keep: Remove rows with NA in covariates, but keep genotypes with NAs

Description

Removes rows with NA in response or covariates, but keeps subjects with NAs in their genotypes if not missing all alleles.

Usage

na.geno.keep(m)

Value

a model matrix with rows removed if exclusion criteria requires it

Arguments

m

model matrix