Description Usage Arguments Value Author(s) See Also Examples
Calculate the log-likelihood, AIC, or AICc cut-off necessary for type-one error to reach acceptable levels
| 1 2 3 4 5 6 7 8 9 | calcCutOff(
  phy,
  n = 1000,
  mc.cores = 1,
  model,
  measure = "AICc",
  alpha.error = 0.05,
  ...
)
 | 
| phy | An object of class  | 
| n | Number of simulations | 
| mc.cores | Number of cores for parallel processing for linux-type systems (not applicable to Windows) | 
| model | Evolutionary model, typically "tm1", "tm2", or "timeSlice", which is used to test the empirical data | 
| measure | Measure used to summarise the model. One of "lnL" (log-likelihood), "AIC", or "AICc" | 
| alpha.error | Target for the desired type-one error rate for the model (default 0.05) | 
| ... | Arguments to be passed to  | 
The cut-off requred to produce an type-one error rate equal to quantile.cut.off (default = 0.05) when data are simulated under Brownian motion, and these data are analysed under the appropriate model.
Mark Puttick
transformPhylo.ML, transformPhylo.ll, transformPhylo, transformPhylo.MCMC
| 1 2 3 4 5 6 | data(anolis.tree)
set.seed(393)
# calculated necessary AICc cut-off to reduce type-one error to 5% 
# for a timeSlice model with a split at 30Ma (only 5 simulations used,
# it's recommend to use 1000 for analyses)
calcCutOff(anolis.tree, n=5, model="timeSlice", splitTime=30)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.