Learn R Programming

diversitree (version 0.6-2)

profiles.plot: Plot Marginal Distributions from MCMC

Description

Simple plotting assistance for plotting output from MCMC runs

Usage

profiles.plot(y, col.line, col.fill, xlim=NULL, ymax=NULL, n.br=50, ...)

Arguments

y
Data frame, columns of which will be plotted as separate profiles.
col.line
Vector of colours for the lines.
col.fill
Vector of colours for the fill of the 95% most probable region of the distribution. If ommited, this will be a semi-transparent version of col.line.
xlim
X-axis limits - calculated automatically if omitted.
ymax
Y-axis upper limit - calculated automatically if omitted.
n.br
Number of breaks along the range of the data.
...
Additional arguments passed through to plot.

Examples

Run this code
## For usage, see the example in ?make.bd

Run the code above in your browser using DataLab