Learn R Programming

nprcgenekeepr (version 1.0.8)

convertFromCenter: Converts the fromCenter information to a standardized code

Description

Part of Pedigree Curation

Usage

convertFromCenter(fromCenter)

Value

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

Arguments

fromCenter

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

Examples

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

Run the code above in your browser using DataLab