calculateE {martini} | R Documentation

## Calculate the environmental component of the phenotype

### Description

Calculates the environmental component of the phenotype using the variance in the genetic component.

### Usage

    calculateE(G, h2)

### Arguments

`G` | The genetic component of the phenotype.
`h2` | The heritability.

### Value

A vector with the environmental component of each sample.

[Package martini version 1.0.0 Index]