View source: R/summary.credibleshiftset.R
summary.credibleshiftset | R Documentation |
BAMM
analysisPrints summary attributes of the BAMM
credible set of
shift configurations.
## S3 method for class 'credibleshiftset'
summary(object, ...)
## S3 method for class 'credibleshiftset'
print(x, ...)
object , x |
An object of class |
... |
Additional arguments (unused). |
Prints to console summary attributes of the XX% credible set of
shift configurations sampled using BAMM
. Attributes printed
include: the number of distinct configurations in the XX% credible
set and the posterior probability, cumulative probability, and number
of rate shifts in the 9 most-probable shift configurations.
summary.credibleshiftset
returns (invisibly) a dataframe
with a number of rows equal to the number of shift configurations in
the credible set and four columns:
rank |
The ranked index of each shift configuration (ranked by posterior probability). |
probability |
The posterior probability of each shift configuration. |
cumulative |
The cumulative probability of each shift configuration. |
N_shifts |
The number of rate shifts in each shift configuration (can be zero). |
Dan Rabosky
distinctShiftConfigurations
,
plot.bammshifts
, credibleShiftSet
data(whales, events.whales)
ed <- getEventData(whales, events.whales, nsamples = 500)
cset <- credibleShiftSet(ed, expectedNumberOfShifts = 1, threshold = 5)
summary(cset)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.