initial: Calculation of the initial error prone value for inbreeding...

Description Usage Arguments Value Author(s)

View source: R/initial.R

Description

This function calculates the starting point for the P-SIMEX on inbreeding depression 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:

model

The correct expression of the model to calculate inbreeding depression

inb0

The starting value of inbreeding depression

se0

The starting standard error of inbreeding depression

pval0

The starting p-value of inbreeding depression

mean_inb0

The starting mean value of inbreeding coefficient

median_inb0

The starting median value of inbreeding coefficient

var_inb0

The starting variance of inbreeding coefficient

Author(s)

Erica Ponzi


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