Description Usage Arguments Details Value Examples

Gives estimation of model parameters under the null hypothesis

1 2 |

`formula` |
referring to the column(s) in |

`phenodata` |
a data frame containing columns mentioned in |

`kin` |
a square symmetric matrix giving the pairwise kinship coefficients between analyzed
individuals. Under default |

`opt.method` |
optimization method, one of "optimize" (default), "optim" and "nlminb". Corresponding R functions will be used in optimization. |

`ih2` |
initial value for h2. Default = 0.3. |

`eps` |
epsilon (precision) value for optimization. Default = 1e-04. |

The function performs one-dimensional optimization for h2 with analytical calculations for the other parameters.

A list with values:

`h2` |
estimate of the heritability |

`total.var` |
estimate of the total variance |

`alpha` |
estimates of fixed effects of covariates |

`df` |
the gradient |

`logLH` |
the total log-likelihood |

`p.normality` |
p value of Shapiro-Wilk normality test for the null model residuals. |

1 2 3 4 5 6 7 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.