Description Usage Arguments Value Author(s)
View source: R/initial_herit.R
This function calculates the starting point for the P-SIMEX on heritability with the initial error in the pedigree.
1 | initial_herit(model, data, pedigree)
|
model |
An object specifying the model to calculate inbreeding depression. It can be a lm or glm. |
data |
A dataset containing the phenotypic measurements on the population and the covariates which are included in the model. |
pedigree |
A dataset containing the initial pedigree structure. It must have three columns: id, parent1, parent2. |
A list:
h0 |
The starting value of heritability |
seh0 |
The starting standard error of heritability |
VA0 |
The starting value of additive genetic variance |
VE0 |
The starting value of environmental variance |
Erica Ponzi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.