Description Usage Arguments Value Author(s) Examples
View source: R/SkylineDatedTips_extension.R
Draws a classic skyline onto a plot
1 | draw_skyline(end_times, pop_size, plot_type = c("linear", "step"), col = 1)
|
end_times: |
the times at the end of every interval in the skyline. |
pop_size: |
the effective population size at that time point. |
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. |
Draws the lines of a skyline (step) or INLA (piece-wise linear)
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.