sensitivity {DAISIEprep} | R Documentation |
Runs a sensitivity analysis to test the influences of changing the data on the parameter estimates for the DAISIE maximum likelihood inference model
Description
Runs a sensitivity analysis to test the influences of changing the data on the parameter estimates for the DAISIE maximum likelihood inference model
Usage
sensitivity(
phylo,
island_species,
extraction_method,
asr_method,
tie_preference,
island_age,
num_mainland_species,
verbose = FALSE
)
Arguments
phylo |
A phylogeny either as a |
island_species |
Data frame with two columns. The first is a character string of the tip_labels with the tip names of the species on the island. The second column a character string of the endemicity status of the species, either endemic or nonendemic. |
extraction_method |
A character string specifying whether the
colonisation time extracted is the minimum time ( |
asr_method |
A character string, either "parsimony" or "mk" determines
whether a maximum parsimony or continuous-time markov model reconstructs the
ancestral states at each node. See documentation in
|
tie_preference |
Character string, either "island" or "mainland" to
choose the most probable state at each node using the |
island_age |
Age of the island in appropriate units. |
num_mainland_species |
The size of the mainland pool, i.e. the number of species that can potentially colonise the island. |
verbose |
Boolean. States if intermediate results should be printed to console. Defaults to FALSE |
Value
Data frame of parameter estimates and the parameter setting used when inferring them