convertNamesToRows: convertNamesToRows function

View source: R/PopulationImprov.R

convertNamesToRowsR Documentation

convertNamesToRows function

Description

Function to transform arbitrary name IDs to row numbers for the sake of pedigreeToCCmatrix

Usage

convertNamesToRows(nameMat)

Arguments

nameMat

The pedigree matrix with character IDs

Details

Keeps everything in order

Value

Matrix suitable for pedigreeToCCmatrix

Examples

threeColPed <- convertNamesToRows(nameMat)]


jeanlucj/BreedSimCost documentation built on July 21, 2023, 1:59 a.m.