# Relationship factor from a pedigree...

### Description

Relationship factor from a pedigree

### Usage

1 | ```
relfactor(ped, labs)
``` |

### Arguments

`ped` |
a pedigree that includes the individuals who occur in |

`labs` |
a character vector or a factor giving the labels to
which to restrict the relationship matrix. If |

### Details

Determine the right Cholesky factor of the relationship matrix for the
pedigree `ped`

, possibly restricted to the specific labels that
occur in `labs`

.

### Value

an upper triangular, sparse (right) Cholesky factor of the relationship matrix

### References

2010. A.I. Vazquez, D.M. Bates, G.J.M. Rosa, D. Gianola and K.A. Weigel. Technical Note: An R package for fitting generalized linear mixed models in animal breeding. Journal of Animal Science, 88:497-504.

### Examples

1 2 3 4 5 6 7 |