rcpp_g2p_map | R Documentation |

A function for the computation of additive phenotypes

```
rcpp_g2p_map(G, dims, bvs, add_loci, sex_ratio, e_v)
```

`G` |
An object of class |

`dims` |
A vector with the dimensions of the 3-D array G. |

`bvs` |
A matrix with the breeding values, indexed by loci and alleles |

`add_loci` |
A vector with the position of additive loci participating in the computation of phenotypes. |

`sex_ratio` |
A numerical value defining the sex ratio of populations |

`e_v` |
A numerical value defining the environmental variance in the computation of phenotypes. |

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.