Learn R Programming

nprcgenekeepr (version 3.0.0)

headerDisplayNames: Convert internal column names to display or header names

Description

Converts the column names of a Pedigree or Genetic value Report to something more descriptive.

Usage

headerDisplayNames(headers)

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.

Arguments

headers

a character vector of column (header) names

Examples

Run this code
library(nprcgenekeepr)
headerDisplayNames(headers = c("id", "sire", "dam", "sex", "birth", "age"))

Run the code above in your browser using DataLab