Probability of a Set of Leaves

Computes the maximum likelihood parameters for a given tree topology.

1 | ```
MLparameters(x, tree, freq = NULL)
``` |

`x` |
a binary matrix whose rows are the (preferably unique) genetic profiles. |

`tree` |
the tree in matrix format. |

`freq` |
a vector whose length equals the number of rows of x, giving the frequency of each profile in the data. |

`p` |
a vector of the maximum likelihood edge parameters (model probabilities). |

`totloglik` |
the log-likelihood at the ML parameters. |

1 2 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.