Learn R Programming

nprcgenekeepr (version 1.0.5)

getIndianOriginStatus: Get Indian-origin status of group

Description

Get Indian-origin status of group

Usage

getIndianOriginStatus(origin)

Arguments

origin

character vector of the animal origins. This vector is to have already been filtered to remove animals that should not be included in the calculation.

Value

ancestry list of number of Chinese animals (chinese), number of hybrid (hybrid), number of borderline hybrid animals (borderline), number of Indian ancestry animals (indian), and the dashboard color (color) to be assigned based on the number of animals of each type counted.