phylH: Phylogenetic heritability
Description
phylH
calculates the phylogenetic heritability from an Almer
model fit and provides associated uncertainty using parametric
bootstrapping.
Usage
phylH(mod, numerator, residual = "Residual", nsim = 10)
Value
phylH
returns a list with the REML estimate, the 95%
confidence interval from the parametric bootstrap, and the bootstrap
samples.
Arguments
- mod
An object of class 'merMod'
- numerator
The name of phylogenetic effect level
- residual
name of the residual effect level
- nsim
number of bootstraps
Examples
Run this code# See the vignette 'Phylogenetic mixed model'.
Run the code above in your browser using DataLab