tests/test.NA.R

##
## Test for bug when assigning NA values into an existing genotype vector
##

library(genetics)
G <- as.genotype( c("1/1","1/2") )
G[1] <- NA

Try the genetics package in your browser

Any scripts or data that you put into this service are public.

genetics documentation built on March 1, 2021, 9:06 a.m.