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

View source: R/na.geno.keep.q

na.geno.keepR Documentation

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)

Arguments

m

model matrix

Value

a model matrix with rows removed if exclusion criteria requires it


haplo.stats documentation built on May 29, 2024, 9:53 a.m.