Learn R Programming

evolvability (version 2.0.0)

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)

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

Value

phylH returns a list with the REML estimate, the 95% confidence interval from the parametric bootstrap, and the bootstrap samples.

Examples

Run this code
# NOT RUN {
# See the vignette 'Phylogenetic mixed model'.
# }

Run the code above in your browser using DataLab