Learn R Programming

nadiv (version 2.18.0)

Mrode3: Pedigree, from chapter 3 of Mrode (2005) with genetic groups and a trait column

Description

Pedigree, from chapter 3 of Mrode (2005) with genetic groups and a trait column

Usage

Mrode3

Arguments

Format

A data.frame with 10 observations on the following 8 variables:

calf

a factor with levels indicating the unique genetic groups and individuals

dam

a numeric vector of maternal identities

sire

a numeric vector of paternal identities

damGG

a factor of maternal identities with genetic groups inserted instead of NA

sireGG

a factor of paternal identities with genetic groups inserted instead of NA

sex

a factor with levels female male

WWG

a numeric vector of pre-weaning weight gain (kg) for five beef calves

Examples

Run this code
  data(Mrode3)
  str(Mrode3)

Run the code above in your browser using DataLab