get.variance: Derive variances components (add/dom)

View source: R/get.variance.R

get.varianceR Documentation

Derive variances components (add/dom)

Description

Function to derive underlying variance components (add/dom)

Usage

get.variance(
  population,
  gen = NULL,
  database = NULL,
  cohorts = NULL,
  id = NULL
)

Arguments

population

Population list

gen

Quick-insert for database (vector of all generations to export)

database

Groups of individuals to consider for the export

cohorts

Quick-insert for database (vector of names of cohorts to export)

id

Individual IDs to search/collect in the database

Value

Table with realized narrow/broad-sense heritability, sigma_g,a,d

Examples

data(ex_pop)
get.variance(ex_pop, gen = 2)

MoBPS documentation built on Nov. 5, 2025, 6:26 p.m.

Related to get.variance in MoBPS...