# pmc

### Description

Performs a phylogenetic monte carlo between modelA and modelB

pmc

### Usage

1 2 |

### Arguments

`tree` |
A phylogenetic tree. Can be phylo (ape) or ouch tree |

`data` |
The data matrix |

`modelA` |
a model from the list, or a custom model, see details |

`modelB` |
any other model from the list, or custom model, see details |

`nboot` |
number of bootstrap replicates to use |

`optionsA` |
additional arguments to modelA |

`optionsB` |
additional arguments to modelB |

`...` |
additional arguments to both fitting methods |

`mc.cores` |
number of parallel cores to use |

### Details

Simulates data under each model and returns the distribution of likelihood ratio, L(B)/L(A), under for both simulated datasets.

### Value

list with the nboot likelihood ratios obtained from fitting both models to data simulated by model A, and the nboot likelihood ratios obtained by fitting both models to simulations from model B, and the likelihood ratio between the original MLE estimated models from the data.

### Examples

1 2 3 4 5 6 7 |