calculateE: Calculate the environmental component of the phenotype

View source: R/simulation.R

calculateER 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.


hclimente/martini documentation built on Feb. 26, 2024, 6:23 p.m.