fixColumnNames: fixColumnNames changes original column names and into...

Description Usage Arguments Value Examples

View source: R/fixColumnNames.R

Description

fixColumnNames changes original column names and into standardized names.

Usage

1
fixColumnNames(orgCols, errorLst)

Arguments

orgCols

character vector with ordered list of column names found in a pedigree file.

errorLst

list object with places to store the various column name changes.

Value

A list object with newColNames and errorLst with a record of all changes made.

Examples

1
2
3
library(nprcgenekeepr)
fixColumnNames(c("Sire_ID", "EGO", "DAM", "Id", "birth_date"),
               errorLst = getEmptyErrorLst())

rmsharp/nprcmanager documentation built on April 24, 2021, 3:13 p.m.