Bayesian test for the presence of imports

detectImports(
  tree,
  constant = FALSE,
  adjust = "none",
  verbose = F,
  diagnostics = F,
  nchains = 4,
  iter = 4000,
  seed = NULL,
  extrapara = list()
)

Arguments

tree

Tree

constant

Whether to assume that the local population size is constant

adjust

Method for adjusting p-values (default is none)

verbose

Whether to produce verbose output

diagnostics

Whether to produce diagnostic warnings

nchains

Number of chains to run in parallel

iter

Number of iterations to run, with first quarter discarded

seed

Seed

extrapara

Named list to pass additional parameters, such as prior hyperparameters

Value

Results of importation test