propMissing | R Documentation |
propMissing
quick calculation of the proportion of missing data in a vector.
propMissing(x)
x |
vector of observations. |
a numeric value with the proportion of missing data.
Giovanny Covarrubias-Pazaran
Covarrubias-Pazaran G (2016) Genome assisted prediction of quantitative traits using the R package sommer. PLoS ONE 11(6): doi:10.1371/journal.pone.0156744
See the function vsc
to know how to use propMissing
in the mmec
solver.
x <- c(1:10, NA)
propMissing(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.