Dmat | R Documentation |

numeric vector that should be the diagonal elements of the diagonal matrix D

`Dmat(ped)`

`ped` |
an object that inherits from class pedigree |

Determine the diagonal factor in the decomposition of the relationship matrix from a pedigree equal to TDT'. Where T is unit lower triangular and D is a diagonal matrix. This function returns a numeric vector with the entries of D

a numeric vector

```
ped <- pedigree(sire = c(NA,NA,1, 1,4,5),
dam = c(NA,NA,2,NA,3,2), label= 1:6)
Dmat(ped)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.