Description Usage Arguments Details Value Note Author(s) References

Generates null distribution of dAICrc test statistic and determines significance of dAICrc indices calculated for 'real' phylogenies.

1 | ```
fitdAICrc.batch(x, observed=NULL, ...)
``` |

`x` |
a numeric matrix or dataframe of branching times |

`observed` |
the dAICrc statistic for the 'real' phylogeny |

`...` |
other parameters, e.g., ints for yule2rate |

For details on input format, see `getBtimes.batch`

.

This fits the following models: pure birth, birth death, density-dependent (exponential), density-dependent (logistic), yule-2-rate

'observed' is the calculated dAICrc statistic obtained for a test phylogeny for which you would like to
obtain a p-value (using `fitdAICrc`

).

A dataframe with N rows, where N is the number of sets of branching times analyzed. Columns of the data frame are the AIC scores for each of the models. The final column, with name dAIC, is the deltaAICrc test statistic for that particular tree.

Make sure that you are using the exact same set of models for the real phylogeny and for the simulated phylogenies. If not, your results are invalid.

Dan Rabosky drabosky@umich.edu

Rabosky, D. L. 2006. Likelihood methods for inferring temporal shifts in
diversification rates. *Evolution* 60:1152-1164.

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.