conf.int.skyline: conf.int.skyline

Description Usage Arguments Value Author(s) Examples

View source: R/SkylineDatedTips_extension.R

Description

Makes a skyline plot from a matrix with medians and confidence intervals as produced by Phy2Sky

Usage

1
conf.int.skyline(conf.int, epsilon = 0, plot_type = c("step"), ...)

Arguments

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.

Value

A plot with median in black and confidence intervals in red

Author(s)

George Shirreff <georgeshirreff@gmail.com>

Examples

1
library(ape)

georgeshirreff/multiNe documentation built on May 17, 2019, 1:15 a.m.