standardizeColnames: Standardize Column Names in a Dataframe (Internal)

View source: R/cleanPedigree.R

standardizeColnamesR Documentation

Standardize Column Names in a Dataframe (Internal)

Description

This internal function standardizes the column names of a given dataframe. It utilizes regular expressions and the 'tolower()' function to match column names against a list of predefined standard names. The approach is case-insensitive and allows for flexible matching of column names.

Usage

standardizeColnames(df, verbose = FALSE)

Arguments

df

A dataframe whose column names need to be standardized.

verbose

A logical indicating whether to print progress messages.

Value

A dataframe with standardized column names.


R-Computing-Lab/BGMisc documentation built on April 3, 2025, 3:12 p.m.