
Convert internal column names to display or header names
Source:R/headerDisplayNames.R
headerDisplayNames.RdConverts the column names of a Pedigree or Genetic value Report to something more descriptive.
Value
A character vector the same length as headers with the
display name for each header. The lookup is case sensitive, and a header
with no display name gives NA.
Examples
library(nprcgenekeepr)
headerDisplayNames(headers = c("id", "sire", "dam", "sex", "birth", "age"))
#> [1] "Ego ID" "Sire ID" "Dam ID" "Sex"
#> [5] "Birth Date" "Age (in years)"