Description Usage Arguments Details Value Author(s) Examples

This function estimates the genotypic and phenotypic covariance and correlation matrices with data from a RCBD with one or several environments.

1 |

`traits` |
The traits to include. |

`geno` |
The genotypes. |

`env` |
The environments. |

`rep` |
The replications or blocks. A RCBD is assumed. |

`data` |
The name of the data frame containing the data. |

`method` |
The method to compute genotypic covariances. See details. |

If `env = NULL`

a RCBD with one environment is considered.
If `method = 1`

the covariances between each pair of traits are computed
using the variances of each trait and the variances of the sum. If `method = 2`

the covariance matrices are approximated using the average of the correlation
matrices computed with each replication in each environment.

It returns the genotypic and phenotypic covariance and correlation matrices.

Raul Eyzaguirre.

1 2 |

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.