# Compute Maximum Likelihood Parameters

### Description

Computes the maximum likelihood parameters for a given tree topology.

### Usage

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

### Arguments

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

### Value

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

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

### Examples

1 2 |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.