LogLik_bounds: Likelihood of the FPK model

Description Usage Arguments Author(s)

View source: R/LogLik_bounds.R

Description

Internal functions use to calculate the likelihood of the FPK model, used in ML and MCMC estimation.

Usage

1
2
LogLik_bounds(tree_formatted, dCoeff, dMat, bounds)
LogLik_bounds_est_root(tree, trait, dCoeff, V, x0_pos, bounds)

Arguments

tree_formatted

A formatted tree as returned by FormatTree_bounds.

dCoeff

The diffusion coefficient.

dMat

The discretized diffusion matrix.

V

A numeric vector giving the value of the evolutionary potential in each point of the trait grid.

bounds

A vector giving the bounds of the trait interval.

x0_pos

The value of the trait at the root of the tree.

tree

A phylogenetic tree in phylo format.

trait

A trait vector for tip taxa.

Author(s)

F. C. Boucher


BBMV documentation built on April 30, 2018, 9:03 a.m.