Description Usage Arguments Value Note Author(s) See Also Examples
naomitab
handles missing values (NA) in a data frame: it returns a list of the columns where NAs have
been removed.
1 | naomitab(tab)
|
tab |
a data frame |
Returns a list of length the number of columns in tab
where each component is a column of tab
, and the values are the corresponding rows where NAs have
been removed.
This function was designed to handle missing values in data frames in the format of the Journal of Forensic Sciences for population genetic data: allele names are given in the first column, and frequencies for a given allele are read in rows for different loci. When a given allele is not observed, the value is coded NA (originally coded "-" in the journal).
Hinda Haned <h.haned@nfi.minvenj.nl>
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.