make.ctable {dmm}R Documentation

Generates a list of vectors containing sets of variance component names

Description

Internal function used by dmm() to construct vectors containing various subsets of the available variance component names, for use in testing and flow control. Made available at user level because it may be useful in constructing the components argument of dmm().

Usage

make.ctable()

Details

There are at present 33 variance and cross-effect-covariance components available in dmm(). Each of these corresponds to a particular effect in a genetic model. Component names are used throughout dmm() to name rows and columns, and hence to label output. For the user, correct specification of component names is vital. The list generated by an internal call to make.ctable() is used to check validity, and to manage internal flow control.

Value

A list containing the following items:

cohortvar

Vector containing all variance components involving cohort

cohortcov

Vector containing all covariance components involving cohort

cohort

Vector containing all (co)variance components involving cohort

evar

Vector containing all environmental variance comonents

ecov

Vector containing all environments covariance components

e

Vector containing all environmental (co)variance components

addgvar

Vector containing all additive genetic variance components

domgvar

Vector containing all dominance genetic variance components

epiaddgvar

Vector containing all additive x additive epistatic genetic variance components

epidomgvar

Vector containing all epistatic genetic variance components involving dominance

sexlinaddgvar

Vector containing all sexlinked additive genetic variance components

gvar

Vector containing all genetic variance components

allvar

Vector containing all variance components

addgcov

Vector containing all additive genetic covariance components

domgcov

Vector containing all dominance genetic covariance components

epiaddgcov

Vector containing all additive x additive epistatic genetic covariance components

epidomgcov

Vector containing all epistatic genetic covariance components involving dominance

sexlinaddgcov

Vector containing all sexlinked additive genetic covariance components

gcov

Vector containing all genetic covariance components

g

Vector containing all genetic (co)variance components

allcov

Vector containing all covariance components

addg

Vector containing all additive genetic (co)variance components

domg

Vector containing all dominance genetic (co)variance components

epiaddg

Vector containing all additive x additive epistatic genetic (co)variance components

epidomg

Vector containing all epistatic genetic (co)variance components involving dominance

sexlinaddg

Vector containing all sexlinked additive genetic (co)variance components

indvar

Vector containing all individual variance components

indcov

Vector containing all individual covariance components

ind

Vector containing all individual (co)variance components

matvar

Vector containing all maternal variance components

matcov

Vector containing all maternal covariance components

mat

Vector containing all maternal (co)variance components

all

Vector containing all (co)variance components

allzpre

Vector containing internal codes for type of Z matrix used in constructing column of W

allzpost

Vector containing internal codes for type of Z matrix used in constructing column of W

allrel

Vector containing internal codes for type of relationship matrix used in constructing column of W

cohortzpre1

Vector of special codes for Z matrix for cohort effects

cohortzpost1

Vector of special codes for Z matrix for cohort effects

cohortzpre2

Vector of special codes for Z matrix for cohort effects

cohortzpost2

Vector of special codes for Z matrix for cohort effects

cohortop

Vector of special operator codes for cohort effects

Note

This is an internal function, its definition and its return value may change in future versions.

Component names are defined in the document dmmOverview.pdf.

Author(s)

Neville Jackson

See Also

Function dmm().

Examples


library(dmm)
# make a ctable
tmp <- make.ctable()
# see its structure
str(tmp)
# look at all additive genetic variances
tmp$addgvar
# tidy up
rm(tmp)

[Package dmm version 2.1-9 Index]