covFunPOUMM: A vectorized expected covariance function for a given tree...

Description Usage Arguments Value

View source: R/POUMM.R

Description

A vectorized expected covariance function for a given tree and a fitted POUMM model

Usage

1
covFunPOUMM(object, corr = FALSE)

Arguments

object

an S3 object of class POUMM

corr

logical indicating if an expected correlation function should be returned For non-ultrametric trees, usually the mean root-tip distance is used.

Value

a function of three numerical parameters: tau - the phylogenetic distance between a two tips; tanc - the distance from the root to their most recent common ancestor. t - the root-tip distance (assuming that the two tips are at equal distance from the root)


venelin/POUMM documentation built on Oct. 25, 2020, 12:07 a.m.