Description Usage Arguments Details References
Return a dataframe of stats for dataframe produced from getCladeSuccess().
1 | calcCladeStats(clades)
|
clades |
dataframe where columns are clades and rows are numbers of descendents by time step as returned by getCladeSuccess() |
The function calculates the following statistics for each clade:
tot.size: the total number of tips in the clade through time
max.size: the maximum number of tips in the clade in one time step
time.span: the number of time steps the clade existed
start: the starting time step
end: the ending time step
cm: the centre of mass of the clade
cg: the centre of gyration of the clade
Gould, S. J., Gilinsky, N. L., & German, R. Z. (1987). Asymmetry of lineages and the direction of evolutionary time. Science (New York, N.Y.), 236(4807), 1437–1441.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.