View source: R/summary.bammdata.R
summary.bammdata | R Documentation |
BAMM
analysisSummarizes the posterior distribution on the number of shifts.
## S3 method for class 'bammdata'
summary(object, display = 10, print = T, ...)
object |
An object of class |
display |
An integer for the number of rows of the posterior to display. |
print |
Print summary of shift distribution in console window? |
... |
Additional arguments (currently unused). |
Prints to console the number of posterior samples and the posterior distribution on the number of shifts, which is just the fraction of samples in the posterior having 0, 1, 2,...n shifts.
Returns (invisibly) a dataframe with 2 components:
shifts |
The number of shifts. |
prob |
The corresponding posterior probability of a model with a given number of rate shifts. |
Mike Grundler, Dan Rabosky
data(whales, events.whales)
ephy <- getEventData(whales, events.whales, nsamples=100)
summary(ephy)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.