triplepara {phybase}R Documentation

Internal function

Description

This is an internal function used to calculate the loglikelihood of triples.

Usage

triplepara(inode,jnode,nodematrix,nspecies)

Arguments

inode the decendant node in the triple
jnode the ancestral node in the triple
nodematrix the species tree
nspecies the number of species

Details

This function is used to calculate triple likelihoods.

Value

The function returns the theta and gamma in a triple.

Author(s)

Liang Liu lliu@oeb.harvard.edu

See Also

write.subtree, read.tree.string


[Package phybase version 1.1 Index]