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()`

.

1 |

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.

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 |

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*.

Neville Jackson

Function `dmm()`

.

1 2 3 4 5 6 7 8 9 | ```
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)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.