Description Usage Arguments Value Author(s) Examples
View source: R/SkylineDatedTips_extension.R
Draws a generalized skyline onto a plot
1 2 | skyline_smooth(end_times, pop_size, epsilon = 0, plot_type = c("step"),
col = 4)
|
epsilon: |
a smoothing parameter. Any time intervals smaller than this value will be joined with adjacent bins until all are wider than this. |
draw: |
logical specifying if the skyline should be drawn (TRUE) or simply the points on the graph returned (FALSE) |
Draws the lines of a skyline, but with a minimum time interval specified by epsilon
If draw=F, it returns a list with the end times of the intervals and the population sizes, smoothed as per the value of epsilon.
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.