initial_herit: Calculation of the initial error prone value for heritability

Description Usage Arguments Value Author(s)

View source: R/initial_herit.R

Description

This function calculates the starting point for the P-SIMEX on heritability with the initial error in the pedigree.

Usage

1

Arguments

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.

Value

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

Author(s)

Erica Ponzi


PSIMEX documentation built on May 2, 2019, 3:34 p.m.