convertFromCenter: Converts the fromCenter information to a standardized code

View source: R/convertFromCenter.R

convertFromCenterR Documentation

Converts the fromCenter information to a standardized code

Description

Part of Pedigree Curation

Usage

convertFromCenter(fromCenter)

Arguments

fromCenter

character or logical vector or NA indicating whether or not the animal is from the center.

Value

A logical vector specifying TRUE if an animal is from the center otherwise FALSE.

Examples

original <- c(
  "y", "yes", "Y", "Yes", "YES", "n", "N", "No", "NO", "no",
  "t", "T", "True", "true", "TRUE", "f", "F", "false", "False",
  "FALSE"
)
convertFromCenter(original)

nprcgenekeepr documentation built on June 8, 2025, 10:55 a.m.