phylH: Phylogenetic heritability

View source: R/phylH.R

phylHR Documentation

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.

Author(s)

Geir H. Bolstad

Examples

# See the vignette 'Phylogenetic mixed model'.

GHBolstad/evolvability documentation built on Feb. 12, 2023, 5:06 a.m.