Description Usage Arguments Value Author(s) Examples
View source: R/SkylineDatedTips_extension.R
Makes a skyline plot from a matrix with medians and confidence intervals as produced by Phy2Sky
1 | conf.int.skyline(conf.int, epsilon = 0, plot_type = c("step"), ...)
|
conf.int: |
this type of output from Phy2Sky |
epsilon: |
a smoothing parameter. Any time intervals smaller than this value will be joined with adjacent bins until all are wider than this. |
plot_type: |
choose between "step", where adjacent points on the skyline are joined by a vertical and a horizontal line, and "linear", where adjacent points on the skyline are joined by a single sloping straight line. |
A plot with median in black and confidence intervals in red
George Shirreff <georgeshirreff@gmail.com>
1 | library(ape)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.