fam_additive: Additive-genetic matrices for a family structure

Description Usage Arguments Value

Description

Computes the relevant matrices to set-up an additive-genetic effect given a family structure

Usage

1
fam_additive(id, fam)

Arguments

id

numeric vector of tree ids

fam

factor with family codes

Value

a list with a recoding of the original id codes, the Inverse relationship matrix (Ainv) in sparse format, and the family-wise sum-to-zero constraint.matrix for use in conjuntion with an explicit family effect


famuvie/2016_RisingAshes documentation built on May 16, 2019, 10:02 a.m.