Learn R Programming

nprcgenekeepr (version 1.0.5)

convertFromCenter: 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

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

Run the code above in your browser using DataLab