Description Usage Arguments Details Value Author(s) Examples
Given a vector of dates for a series of time bins and another for the times when a character change occurred will return the total number of changes in each bin.
1 | bin_changes(change_times, time_bins)
|
change_times |
A vector of ages in millions of years at which character changes are hypothesised to have occurred. |
time_bins |
A vector of ages in millions of years of time bin boundaries in old-to-young order. |
Calculates the total number of evolutionary changes in a series of time bins. This is intended as an internal function for rate calculations, but could be used for other purposes (e.g., counting any point events in a series of time bins).
A vector giving the number of changes for each time bin. Names indicate the maximum and minimum (bottom and top) values for each time bin.
Graeme T. Lloyd graemetlloyd@gmail.com
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.