calculateE: Calculate the environmental component of the phenotype

Description Usage Arguments Value

View source: R/simulation.R

Description

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

Usage

1
calculateE(G, h2)

Arguments

G

The genetic component of the phenotype.

h2

The heritability.

Value

A vector with the environmental component of each sample.


martini documentation built on Nov. 8, 2020, 5:39 p.m.