Description Usage Arguments Author(s)

View source: R/LogLik_bounds.R

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

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

`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. |

F. C. Boucher

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.