Description Usage Arguments Details Value
Fit a model for a target and get detailed results about estimated coefficients and individuals contributions to the LOD score.
1 2 |
driver |
A matrix of drivers, individuals x drivers |
target |
A numeric vector of target values |
kinship |
Optional kinship matrix. |
addcovar |
An optional matrix of additive covariates. |
intcovar |
An optional matrix of interactive covariates. |
weights |
An optional vector of positive weights for the individuals. As with the other inputs, it must have 'names' for individual identifiers. Ignored if ‘kinship' is provided.#’ |
nullcovar |
An optional matrix of additional additive covariates that are used under the null hypothesis (of no driver) but not under the alternative (with driver). |
If kinship
is absent, regression is performed.
If kinship
is provided, a linear mixed model is used, with a
random effect estimated under the null hypothesis of no driver,
and then taken as fixed and known with driver.
The default version ignores kinship. See fit1
for use of kinship
.
A list containing * 'LR' - The overall likelihood ratio. * 'indLR' - Vector of individual contributions to the likelihood ratio. * 'df' - Model degrees of freedom.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.