Description Usage Arguments Value

View source: R/mk2.likelihood.R

Calculate the log likelihood of the distribution of a binary state character on a phylogeny

1 | ```
mk2.loglk(pars, x, phy)
``` |

`pars` |
A vector of transition rates. e.g. |

`x` |
A vector of character states in the set 0, 1 |

`phy` |
A phylogeny that inherits class |

The log likelihood of the data

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.